<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">












<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Sea Glass Look and Feel - CPD Results</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
      @import url("./css/highlight.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      </head>
  <body class="composite">
    <div id="page">
    <div id="banner">
                    <div id="bannerLeft">
    
            Sea Glass Look and Feel for Swing
    
            </div>
                          <div id="bannerRight">
    
                                            <img src="images/logos/SeaGlassLogo.png" alt="$alt" />
    
            </div>
            <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
            
  
    
            <div class="xleft">
        Version: 0.2
              </div>
            <div class="xright">            <a href="http://explodingpixels.wordpress.com" class="externalLink">Kenneth Orr</a>
            |
                <a href="http://www.kathrynhuxtable.org" class="externalLink">Kathryn Huxtable</a>
            
  

  
    
            
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
            
  
    
                   <h5>Sea Glass Look and Feel</h5>
            <ul>
              
    <li>
                    <a href="index.html">Introduction</a>
          </li>
              
    <li>
                    <a class="newWindow" target="_New" href="http://groups.google.com/group/sea-glass-look-and-feel" class="externalLink">Discussion Group</a>
          </li>
              
    <li>
                    <a class="newWindow" target="_New" href="./">Google Code</a>
          </li>
              
    <li>
                    <a href="downloads.html">Downloads</a>
          </li>
              
    <li>
                    <a href="usage.html">Usage</a>
          </li>
              
    <li>
                    <a href="client-properties.html">Client properties</a>
          </li>
          </ul>
              <h5>Project Information</h5>
            <ul>
              
    <li>
                    <a href="dependencies.html">Dependencies</a>
          </li>
              
    <li>
                    <a href="issue-tracking.html">Issue Tracking</a>
          </li>
              
    <li>
                    <a href="mail-lists.html">Mailing Lists</a>
          </li>
              
    <li>
                    <a href="license.html">Project License</a>
          </li>
              
    <li>
                    <a href="project-summary.html">Project Summary</a>
          </li>
              
    <li>
                    <a href="team-list.html">Project Team</a>
          </li>
              
    <li>
                    <a href="source-repository.html">Source Repository</a>
          </li>
          </ul>
              <h5>Project Reports</h5>
            <ul>
              
    <li>
              <strong>CPD Report</strong>
        </li>
              
    <li>
                    <a class="newWindow" target="_New" href="apidocs/index.html">JavaDocs</a>
          </li>
              
    <li>
                    <a href="pmd.html">PMD Report</a>
          </li>
              
    <li>
                    <a class="newWindow" target="_New" href="xref/index.html">Source Xref</a>
          </li>
              
    <li>
                    <a href="taglist.html">Tag List</a>
          </li>
          </ul>
            </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2>CPD Results<a name="CPD_Results"></a></h2><p>The following document contains the results of PMD's  <a class="externalLink" href="http://pmd.sourceforge.net/cpd.html">CPD</a> 4.3.</p></div><div class="section"><h2>Duplications<a name="Duplications"></a></h2><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/painter/TabbedPaneTabPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/TabbedPaneTabPainter.html#203">203</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/painter/button/SegmentedButtonPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/button/SegmentedButtonPainter.html#209">209</a></td></tr><tr class="b"><td colspan='2'><div><pre>        }

        return segmentType;
    }

    /**
     * Create the shape for the outer focus ring. Designed to be drawn rather
     * than filled.
     *
     * @param  segmentType the segment type.
     * @param  x           the x offset.
     * @param  y           the y offset.
     * @param  w           the width.
     * @param  h           the height.
     *
     * @return the shape of the outer focus ring. Designed to be drawn rather
     *         than filled.
     */
    protected Shape createOuterFocus(final SegmentType segmentType, final int x, final int y, final int w, final int h) {
        switch (segmentType) {

        case FIRST:
            return shapeGenerator.createRoundRectangle(x - 2, y - 2, w + 3, h + 3, CornerSize.OUTER_FOCUS, CornerStyle.ROUNDED,
                                                       CornerStyle.ROUNDED, CornerStyle.SQUARE, CornerStyle.SQUARE);

        case MIDDLE:
            return shapeGenerator.createRectangle(x - 2, y - 2, w + 3, h + 3);

        case LAST:
            return shapeGenerator.createRoundRectangle(x - 2, y - 2, w + 3, h + 3, CornerSize.OUTER_FOCUS, CornerStyle.SQUARE,
                                                       CornerStyle.SQUARE, CornerStyle.ROUNDED, CornerStyle.ROUNDED);

        default:
            return shapeGenerator.createRoundRectangle(x - 2, y - 2, w + 3, h + 3, CornerSize.OUTER_FOCUS);
        }
    }

    /**
     * Create the shape for the inner focus ring. Designed to be drawn rather
     * than filled.
     *
     * @param  segmentType the segment type.
     * @param  x           the x offset.
     * @param  y           the y offset.
     * @param  w           the width.
     * @param  h           the height.
     *
     * @return the shape of the inner focus ring. Designed to be drawn rather
     *         than filled.
     */
    protected Shape createInnerFocus(final SegmentType segmentType, final int x, final int y, final int w, final int h) {
        switch (segmentType) {

        case FIRST:
            return shapeGenerator.createRoundRectangle(x - 1, y - 1, w + 2, h + 1, CornerSize.INNER_FOCUS, CornerStyle.ROUNDED,
                                                       CornerStyle.ROUNDED, CornerStyle.SQUARE, CornerStyle.SQUARE);

        case MIDDLE:
            return shapeGenerator.createRectangle(x - 2, y - 1, w + 3, h + 1);

        case LAST:
            return shapeGenerator.createRoundRectangle(x - 2, y - 1, w + 2, h + 1, CornerSize.INNER_FOCUS, CornerStyle.SQUARE,
                                                       CornerStyle.SQUARE, CornerStyle.ROUNDED, CornerStyle.ROUNDED);

        default:
            return shapeGenerator.createRoundRectangle(x - 1, y - 1, w + 1, h + 1, CornerSize.INNER_FOCUS);
        }
    }

    /**
     * Create the shape for the border.
     *
     * @param  segmentType the segment type.
     * @param  x           the x offset.
     * @param  y           the y offset.
     * @param  w           the width.
     * @param  h           the height.
     *
     * @return the shape of the border.
     */
    protected Shape createBorder(final SegmentType segmentType, final int x, final int y, final int w, final int h) {
        switch (segmentType) {

        case FIRST:
            return shapeGenerator.createRoundRectangle(x, y, w + 2, h, CornerSize.BORDER, CornerStyle.ROUNDED, CornerStyle.ROUNDED,
                                                       CornerStyle.SQUARE, CornerStyle.SQUARE);

        case MIDDLE:
            return shapeGenerator.createRectangle(x - 2, y, w + 4, h);

        case LAST:
            return shapeGenerator.createRoundRectangle(x - 2, y, w + 2, h, CornerSize.BORDER, CornerStyle.SQUARE, CornerStyle.SQUARE,
                                                       CornerStyle.ROUNDED, CornerStyle.ROUNDED);

        default:
            return shapeGenerator.createRoundRectangle(x, y, w, h, CornerSize.BORDER);
        }
    }

    /**
     * Create the shape for the interior.
     *
     * @param  segmentType the segment type.
     * @param  x           the x offset.
     * @param  y           the y offset.
     * @param  w           the width.
     * @param  h           the height.
     *
     * @return the shape of the interior.
     */
    protected Shape createInterior(final SegmentType segmentType, final int x, final int y, final int w, final int h) {
        switch (segmentType) {

        case FIRST:
            return shapeGenerator.createRoundRectangle(x + 1, y + 1, w, h - 2, CornerSize.INTERIOR, CornerStyle.ROUNDED,
                                                       CornerStyle.ROUNDED, CornerStyle.SQUARE, CornerStyle.SQUARE);

        case MIDDLE:
            return shapeGenerator.createRectangle(x - 2, y + 1, w + 3, h - 2);

        case LAST:
            return shapeGenerator.createRoundRectangle(x - 2, y + 1, w + 1, h - 2, CornerSize.INTERIOR, CornerStyle.SQUARE,
                                                       CornerStyle.SQUARE, CornerStyle.ROUNDED, CornerStyle.ROUNDED);

        default:
            return shapeGenerator.createRoundRectangle(x + 1, y + 1, w - 2, h - 2, CornerSize.INTERIOR);
        }
    }
}</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#149">149</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#184">184</a></td></tr><tr class="b"><td colspan='2'><div><pre>        g.fill(shape15);
    }

    private void paintCompositeGraphicsNode_0_0_0(Graphics2D g) {
        // _0_0_0_0
        AffineTransform trans_0_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_0(g);
        g.setTransform(trans_0_0_0_0);
        // _0_0_0_1
        AffineTransform trans_0_0_0_1 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_1(g);
        g.setTransform(trans_0_0_0_1);
        // _0_0_0_2
        AffineTransform trans_0_0_0_2 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_2(g);
        g.setTransform(trans_0_0_0_2);
        // _0_0_0_3
        AffineTransform trans_0_0_0_3 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_3(g);
        g.setTransform(trans_0_0_0_3);
        // _0_0_0_4
        AffineTransform trans_0_0_0_4 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_4(g);
        g.setTransform(trans_0_0_0_4);
        // _0_0_0_5
        AffineTransform trans_0_0_0_5 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_5(g);
        g.setTransform(trans_0_0_0_5);
        // _0_0_0_6
        AffineTransform trans_0_0_0_6 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_6(g);
        g.setTransform(trans_0_0_0_6);
        // _0_0_0_7
        AffineTransform trans_0_0_0_7 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_7(g);
        g.setTransform(trans_0_0_0_7);
        // _0_0_0_8
        AffineTransform trans_0_0_0_8 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_8(g);
        g.setTransform(trans_0_0_0_8);
        // _0_0_0_9
        AffineTransform trans_0_0_0_9 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_9(g);
        g.setTransform(trans_0_0_0_9);
        // _0_0_0_10
        AffineTransform trans_0_0_0_10 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_10(g);
        g.setTransform(trans_0_0_0_10);
        // _0_0_0_11
        AffineTransform trans_0_0_0_11 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_11(g);
        g.setTransform(trans_0_0_0_11);
        // _0_0_0_12
        AffineTransform trans_0_0_0_12 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_12(g);
        g.setTransform(trans_0_0_0_12);
        // _0_0_0_13
        AffineTransform trans_0_0_0_13 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_13(g);
        g.setTransform(trans_0_0_0_13);
        // _0_0_0_14
        AffineTransform trans_0_0_0_14 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_14(g);
        g.setTransform(trans_0_0_0_14);
        // _0_0_0_15
        AffineTransform trans_0_0_0_15 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_15(g);
        g.setTransform(trans_0_0_0_15);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#11">11</a></td></tr><tr class="b"><td colspan='2'><div><pre>public class FolderNewIcon implements Icon {
	
	private float origAlpha = 1.0f;

	/**
	 * Paints the transcoded SVG image on the specified graphics context. You
	 * can install a custom transformation on the graphics context to scale the
	 * image.
	 * 
	 * @param g
	 *            Graphics context.
	 */
	public void paint(Graphics2D g) {
		g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        origAlpha = 1.0f;
        Composite origComposite = g.getComposite();
        if (origComposite instanceof AlphaComposite) {
            AlphaComposite origAlphaComposite = 
                (AlphaComposite)origComposite;
            if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
                origAlpha = origAlphaComposite.getAlpha();
            }
        }
        
		// _0
		AffineTransform trans_0 = g.getTransform();
		paintRootGraphicsNode_0(g);
		g.setTransform(trans_0);

	}

	private void paintShapeNode_0_0_0_0(Graphics2D g) {
		RoundRectangle2D.Double shape0 = new RoundRectangle2D.Double(-12.893506050109863, 1.184890627861023, 9.45958423614502, 12.219721794128418, 1.428767442703247, 1.428767442703247);
		g.setPaint(new Color(118, 118, 118, 91));
		g.fill(shape0);
	}

	private void paintShapeNode_0_0_0_1(Graphics2D g) {
		RoundRectangle2D.Double shape1 = new RoundRectangle2D.Double(-12.6668119430542, 1.0308878421783447, 9.45958423614502, 12.219721794128418, 1.428767442703247, 1.428767442703247);
		g.setPaint(new LinearGradientPaint(new Point2D.Double(-13.97996711730957, 7.864083766937256), new Point2D.Double(-2.027459144592285, 7.864083766937256), new float[] {0.0f,1.0f}, new Color[] {new Color(92, 184, 255, 255),new Color(213, 239, 255, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(0.8083381652832031f, 0.0f, 0.0f, 0.8346183896064758f, -1.4673138856887817f, 0.577239990234375f)));
		g.fill(shape1);
		g.setPaint(new Color(0, 119, 203, 255));
		g.setStroke(new BasicStroke(0.20534329f,0,2,4.0f,null,0.0f));
		g.draw(shape1);
	}

	private void paintShapeNode_0_0_0_2(Graphics2D g) {
		RoundRectangle2D.Double shape2 = new RoundRectangle2D.Double(-13.02892017364502, 4.155174255371094, 9.054187774658203, 12.219721794128418, 1.428767442703247, 1.428767442703247);
		g.setPaint(new LinearGradientPaint(new Point2D.Double(-13.97996711730957, 7.864083766937256), new Point2D.Double(-2.027459144592285, 7.864083766937256), new float[] {0.0f,1.0f}, new Color[] {new Color(92, 184, 255, 255),new Color(213, 239, 255, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(0.7736963033676147f, 0.0f, 0.0f, 0.8346183896064758f, -2.309382677078247f, 3.701526403427124f)));
		g.fill(shape2);
		g.setPaint(new Color(0, 119, 203, 255));
		g.setStroke(new BasicStroke(0.20089507f,0,2,4.0f,null,0.0f));
		g.draw(shape2);
	}

	private void paintShapeNode_0_0_0_3(Graphics2D g) {
		GeneralPath shape3 = new GeneralPath();
		shape3.moveTo(6.903622, 5.2467628);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderIcon.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#11">11</a></td></tr><tr class="a"><td colspan='2'><div><pre>public class FolderIcon implements Icon {
	
	private float origAlpha = 1.0f;

	/**
	 * Paints the transcoded SVG image on the specified graphics context. You
	 * can install a custom transformation on the graphics context to scale the
	 * image.
	 * 
	 * @param g
	 *            Graphics context.
	 */
	public void paint(Graphics2D g) {
		g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        origAlpha = 1.0f;
        Composite origComposite = g.getComposite();
        if (origComposite instanceof AlphaComposite) {
            AlphaComposite origAlphaComposite = 
                (AlphaComposite)origComposite;
            if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
                origAlpha = origAlphaComposite.getAlpha();
            }
        }
        
		// _0
		AffineTransform trans_0 = g.getTransform();
		paintRootGraphicsNode_0(g);
		g.setTransform(trans_0);

	}

	private void paintShapeNode_0_0_0_0(Graphics2D g) {
		RoundRectangle2D.Double shape0 = new RoundRectangle2D.Double(-12.893506050109863, 1.184890627861023, 9.45958423614502, 12.219721794128418, 1.428767442703247, 1.428767442703247);
		g.setPaint(new Color(118, 118, 118, 91));
		g.fill(shape0);
	}

	private void paintShapeNode_0_0_0_1(Graphics2D g) {
		RoundRectangle2D.Double shape1 = new RoundRectangle2D.Double(-12.6668119430542, 1.0308878421783447, 9.45958423614502, 12.219721794128418, 1.428767442703247, 1.428767442703247);
		g.setPaint(new LinearGradientPaint(new Point2D.Double(-13.97996711730957, 7.864083766937256), new Point2D.Double(-2.027459144592285, 7.864083766937256), new float[] {0.0f,1.0f}, new Color[] {new Color(92, 184, 255, 255),new Color(213, 239, 255, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(0.8083381652832031f, 0.0f, 0.0f, 0.8346183896064758f, -1.4673138856887817f, 0.577239990234375f)));
		g.fill(shape1);
		g.setPaint(new Color(0, 119, 203, 255));
		g.setStroke(new BasicStroke(0.20534329f,0,2,4.0f,null,0.0f));
		g.draw(shape1);
	}

	private void paintShapeNode_0_0_0_2(Graphics2D g) {
		RoundRectangle2D.Double shape2 = new RoundRectangle2D.Double(-13.02892017364502, 4.155174255371094, 9.054187774658203, 12.219721794128418, 1.428767442703247, 1.428767442703247);
		g.setPaint(new LinearGradientPaint(new Point2D.Double(-13.97996711730957, 7.864083766937256), new Point2D.Double(-2.027459144592285, 7.864083766937256), new float[] {0.0f,1.0f}, new Color[] {new Color(92, 184, 255, 255),new Color(213, 239, 255, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(0.7736963033676147f, 0.0f, 0.0f, 0.8346183896064758f, -2.309382677078247f, 3.701526403427124f)));
		g.fill(shape2);
		g.setPaint(new Color(0, 119, 203, 255));
		g.setStroke(new BasicStroke(0.20089507f,0,2,4.0f,null,0.0f));
		g.draw(shape2);
	}

	private void paintShapeNode_0_0_0_3(Graphics2D g) {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#11">11</a></td></tr><tr class="a"><td colspan='2'><div><pre>public class InfoSign implements Icon {
    
    private float origAlpha = 1.0f;

    /**
     * Paints the transcoded SVG image on the specified graphics context. You
     * can install a custom transformation on the graphics context to scale the
     * image.
     * 
     * @param g
     *            Graphics context.
     */
    public void paint(Graphics2D g) {
        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        origAlpha = 1.0f;
        Composite origComposite = g.getComposite();
        if (origComposite instanceof AlphaComposite) {
            AlphaComposite origAlphaComposite = 
                (AlphaComposite)origComposite;
            if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
                origAlpha = origAlphaComposite.getAlpha();
            }
        }
        
        // _0
        AffineTransform trans_0 = g.getTransform();
        paintRootGraphicsNode_0(g);
        g.setTransform(trans_0);

    }

    private void paintShapeNode_0_0_0_0(Graphics2D g) {
        GeneralPath shape0 = new GeneralPath();
        shape0.moveTo(45.857143, 27.857143);
        shape0.curveTo(45.857143, 37.798267, 37.798267, 45.857143, 27.857143, 45.857143);
        shape0.curveTo(17.916018, 45.857143, 9.857143, 37.798267, 9.857143, 27.857143);
        shape0.curveTo(9.857143, 17.916018, 17.916018, 9.857143, 27.857143, 9.857143);
        shape0.curveTo(37.798267, 9.857143, 45.857143, 17.916018, 45.857143, 27.857143);
        shape0.closePath();
        g.setPaint(new LinearGradientPaint(new Point2D.Double(28.212133407592773, 30.697072982788086), new Point2D.Double(21.69320297241211, 11.333908081054688), new float[] {0.0f,1.0f}, new Color[] {new Color(213, 233, 249, 255),new Color(255, 255, 255, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)));
        g.fill(shape0);
        g.setPaint(new Color(112, 154, 208, 255));
        g.setStroke(new BasicStroke(1.5f,1,0,4.0f,null,0.0f));
        g.draw(shape0);
    }

    private void paintTextNode_0_0_0_1(Graphics2D g) {
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
        GeneralPath shape1 = new GeneralPath();
        shape1.moveTo(23.404142, 31.87479);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#82">82</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#77">77</a></td></tr><tr class="a"><td colspan='2'><div><pre>		g.setPaint(new LinearGradientPaint(new Point2D.Double(-1.851777195930481, -12.676636695861816), new Point2D.Double(-5.0426025390625, -12.65538501739502), new float[] {0.0f,1.0f}, new Color[] {new Color(33, 153, 255, 255),new Color(171, 236, 255, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.8868346214294434f, 0.0f, 0.0f, 1.4989235401153564f, 14.2290678024292f, 26.43236541748047f)));
		g.fill(shape3);
		g.setPaint(new Color(0, 38, 64, 255));
		g.setStroke(new BasicStroke(0.4204329f,0,0,4.0f,null,0.0f));
		g.draw(shape3);
	}

	private void paintCompositeGraphicsNode_0_0_0(Graphics2D g) {
		// _0_0_0_0
		AffineTransform trans_0_0_0_0 = g.getTransform();
		g.transform(new AffineTransform(0.0f, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_0(g);
		g.setTransform(trans_0_0_0_0);
		// _0_0_0_1
		AffineTransform trans_0_0_0_1 = g.getTransform();
		g.transform(new AffineTransform(0.0f, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_1(g);
		g.setTransform(trans_0_0_0_1);
		// _0_0_0_2
		AffineTransform trans_0_0_0_2 = g.getTransform();
		g.transform(new AffineTransform(0.2419995665550232f, -0.9702763557434082f, 1.0f, 0.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_2(g);
		g.setTransform(trans_0_0_0_2);
		// _0_0_0_3
		AffineTransform trans_0_0_0_3 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_3(g);
		g.setTransform(trans_0_0_0_3);
	}

	private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
		// _0_0_0
		AffineTransform trans_0_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCompositeGraphicsNode_0_0_0(g);
		g.setTransform(trans_0_0_0);
	}

	private void paintRootGraphicsNode_0(Graphics2D g) {
		// _0_0
		g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
		AffineTransform trans_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCanvasGraphicsNode_0_0(g);
		g.setTransform(trans_0_0);
	}



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 1;
    }

    /**
     * Returns the Y of the bounding box of the original SVG image.
     * @return The Y of the bounding box of the original SVG image.
     */
    public int getOrigY() {
        return 4;
    }

    /**
     * Returns the width of the bounding box of the original SVG image.
     * @return The width of the bounding box of the original SVG image.
     */
    public int getOrigWidth() {
        return 15;
    }

    /**
     * Returns the height of the bounding box of the original SVG image.
     * @return The height of the bounding box of the original SVG image.
     */
    public int getOrigHeight() {
        return 10;
    }
    
    
	/**
	 * The current width of this resizable icon.
	 */
	int width;

	/**
	 * The current height of this resizable icon.
	 */
	int height;

	/**
	 * Creates a new transcoded SVG image.
	 */
	public FolderNewIcon() {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#59">59</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#195">195</a></td></tr><tr class="a"><td colspan='2'><div><pre>                    DefaultEditorKit.copyAction,
                    &quot;PASTE&quot;,
                    DefaultEditorKit.pasteAction,
                    &quot;RIGHT&quot;,
                    DefaultEditorKit.forwardAction,
                    &quot;KP_RIGHT&quot;,
                    DefaultEditorKit.forwardAction,
                    &quot;LEFT&quot;,
                    DefaultEditorKit.backwardAction,
                    &quot;KP_LEFT&quot;,
                    DefaultEditorKit.backwardAction,
                    &quot;shift RIGHT&quot;,
                    DefaultEditorKit.selectionForwardAction,
                    &quot;shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionForwardAction,
                    &quot;shift LEFT&quot;,
                    DefaultEditorKit.selectionBackwardAction,
                    &quot;shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBackwardAction,
                    &quot;UP&quot;,
                    DefaultEditorKit.upAction,
                    &quot;KP_UP&quot;,
                    DefaultEditorKit.upAction,
                    &quot;DOWN&quot;,
                    DefaultEditorKit.downAction,
                    &quot;KP_DOWN&quot;,
                    DefaultEditorKit.downAction,
                    &quot;shift UP&quot;,
                    DefaultEditorKit.selectionUpAction,
                    &quot;shift KP_UP&quot;,
                    DefaultEditorKit.selectionUpAction,
                    &quot;shift DOWN&quot;,
                    DefaultEditorKit.selectionDownAction,
                    &quot;shift KP_DOWN&quot;,
                    DefaultEditorKit.selectionDownAction,
                    &quot;alt LEFT&quot;,
                    DefaultEditorKit.previousWordAction,
                    &quot;alt KP_LEFT&quot;,
                    DefaultEditorKit.previousWordAction,
                    &quot;alt RIGHT&quot;,
                    DefaultEditorKit.nextWordAction,
                    &quot;alt KP_RIGHT&quot;,
                    DefaultEditorKit.nextWordAction,
                    &quot;alt shift LEFT&quot;,
                    DefaultEditorKit.selectionPreviousWordAction,
                    &quot;alt shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionPreviousWordAction,
                    &quot;alt shift RIGHT&quot;,
                    DefaultEditorKit.selectionNextWordAction,
                    &quot;alt shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionNextWordAction,
                    &quot;alt UP&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;alt KP_UP&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;ctrl LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;ctrl KP_LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;meta LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;meta KP_LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;alt DOWN&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;alt KP_DOWN&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl KP_RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;meta RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;meta KP_RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl shift LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;ctrl shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;meta shift LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;meta shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;ctrl shift RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;ctrl shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;meta shift RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;meta shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;HOME&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;END&quot;,
                    DefaultEditorKit.endAction,
                    &quot;meta UP&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;meta KP_UP&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;meta DOWN&quot;,
                    DefaultEditorKit.endAction,
                    &quot;meta KP_DOWN&quot;,
                    DefaultEditorKit.endAction,
                    &quot;shift HOME&quot;,
                    DefaultEditorKit.selectionBeginAction,
                    &quot;shift END&quot;,
                    DefaultEditorKit.selectionEndAction,
                    &quot;meta A&quot;,
                    DefaultEditorKit.selectAllAction,
                    &quot;meta shift A&quot;,
                    &quot;unselect&quot;,
                    &quot;controlBackground shift O&quot;,
                    &quot;toggle-componentOrientation&quot;,
                    &quot;alt DELETE&quot;,
                    MacEditorKit.deleteNextWordAction,
                    &quot;alt BACK_SPACE&quot;,
                    MacEditorKit.deletePrevWordAction,
                    &quot;ENTER&quot;,
                    JTextField.notifyAction,
                });

        // Input map for password fields
        UIDefaults.LazyInputMap passwordFieldInputMap = new UIDefaults.LazyInputMap(new String[] {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#61">61</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#197">197</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#489">489</a></td></tr><tr class="b"><td colspan='2'><div><pre>                    DefaultEditorKit.pasteAction,
                    &quot;RIGHT&quot;,
                    DefaultEditorKit.forwardAction,
                    &quot;KP_RIGHT&quot;,
                    DefaultEditorKit.forwardAction,
                    &quot;LEFT&quot;,
                    DefaultEditorKit.backwardAction,
                    &quot;KP_LEFT&quot;,
                    DefaultEditorKit.backwardAction,
                    &quot;shift RIGHT&quot;,
                    DefaultEditorKit.selectionForwardAction,
                    &quot;shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionForwardAction,
                    &quot;shift LEFT&quot;,
                    DefaultEditorKit.selectionBackwardAction,
                    &quot;shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBackwardAction,
                    &quot;UP&quot;,
                    DefaultEditorKit.upAction,
                    &quot;KP_UP&quot;,
                    DefaultEditorKit.upAction,
                    &quot;DOWN&quot;,
                    DefaultEditorKit.downAction,
                    &quot;KP_DOWN&quot;,
                    DefaultEditorKit.downAction,
                    &quot;shift UP&quot;,
                    DefaultEditorKit.selectionUpAction,
                    &quot;shift KP_UP&quot;,
                    DefaultEditorKit.selectionUpAction,
                    &quot;shift DOWN&quot;,
                    DefaultEditorKit.selectionDownAction,
                    &quot;shift KP_DOWN&quot;,
                    DefaultEditorKit.selectionDownAction,
                    &quot;alt LEFT&quot;,
                    DefaultEditorKit.previousWordAction,
                    &quot;alt KP_LEFT&quot;,
                    DefaultEditorKit.previousWordAction,
                    &quot;alt RIGHT&quot;,
                    DefaultEditorKit.nextWordAction,
                    &quot;alt KP_RIGHT&quot;,
                    DefaultEditorKit.nextWordAction,
                    &quot;alt shift LEFT&quot;,
                    DefaultEditorKit.selectionPreviousWordAction,
                    &quot;alt shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionPreviousWordAction,
                    &quot;alt shift RIGHT&quot;,
                    DefaultEditorKit.selectionNextWordAction,
                    &quot;alt shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionNextWordAction,
                    &quot;alt UP&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;alt KP_UP&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;ctrl LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;ctrl KP_LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;meta LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;meta KP_LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;alt DOWN&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;alt KP_DOWN&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl KP_RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;meta RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;meta KP_RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl shift LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;ctrl shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;meta shift LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;meta shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;ctrl shift RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;ctrl shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;meta shift RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;meta shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;HOME&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;END&quot;,
                    DefaultEditorKit.endAction,
                    &quot;meta UP&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;meta KP_UP&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;meta DOWN&quot;,
                    DefaultEditorKit.endAction,
                    &quot;meta KP_DOWN&quot;,
                    DefaultEditorKit.endAction,
                    &quot;shift HOME&quot;,
                    DefaultEditorKit.selectionBeginAction,
                    &quot;shift END&quot;,
                    DefaultEditorKit.selectionEndAction,
                    &quot;meta A&quot;,
                    DefaultEditorKit.selectAllAction,
                    &quot;meta shift A&quot;,
                    &quot;unselect&quot;,
                    &quot;controlBackground shift O&quot;,
                    &quot;toggle-componentOrientation&quot;,
                    &quot;alt DELETE&quot;,
                    MacEditorKit.deleteNextWordAction,
                    &quot;alt BACK_SPACE&quot;,
                    MacEditorKit.deletePrevWordAction,</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderIcon.html#69">69</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#86">86</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#81">81</a></td></tr><tr class="a"><td colspan='2'><div><pre>		g.fill(shape3);
	}

	private void paintCompositeGraphicsNode_0_0_0(Graphics2D g) {
		// _0_0_0_0
		AffineTransform trans_0_0_0_0 = g.getTransform();
		g.transform(new AffineTransform(0.0f, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_0(g);
		g.setTransform(trans_0_0_0_0);
		// _0_0_0_1
		AffineTransform trans_0_0_0_1 = g.getTransform();
		g.transform(new AffineTransform(0.0f, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_1(g);
		g.setTransform(trans_0_0_0_1);
		// _0_0_0_2
		AffineTransform trans_0_0_0_2 = g.getTransform();
		g.transform(new AffineTransform(0.2419995665550232f, -0.9702763557434082f, 1.0f, 0.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_2(g);
		g.setTransform(trans_0_0_0_2);
		// _0_0_0_3
		AffineTransform trans_0_0_0_3 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_3(g);
		g.setTransform(trans_0_0_0_3);
	}

	private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
		// _0_0_0
		AffineTransform trans_0_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCompositeGraphicsNode_0_0_0(g);
		g.setTransform(trans_0_0_0);
	}

	private void paintRootGraphicsNode_0(Graphics2D g) {
		// _0_0
		g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
		AffineTransform trans_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCanvasGraphicsNode_0_0(g);
		g.setTransform(trans_0_0);
	}



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 1;
    }

    /**
     * Returns the Y of the bounding box of the original SVG image.
     * @return The Y of the bounding box of the original SVG image.
     */
    public int getOrigY() {
        return 4;
    }

    /**
     * Returns the width of the bounding box of the original SVG image.
     * @return The width of the bounding box of the original SVG image.
     */
    public int getOrigWidth() {
        return 15;
    }

    /**
     * Returns the height of the bounding box of the original SVG image.
     * @return The height of the bounding box of the original SVG image.
     */
    public int getOrigHeight() {
        return 10;
    }
    
    
	/**
	 * The current width of this resizable icon.
	 */
	int width;

	/**
	 * The current height of this resizable icon.
	 */
	int height;

	/**
	 * Creates a new transcoded SVG image.
	 */
	public FolderIcon() {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#149">149</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#184">184</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#84">84</a></td></tr><tr class="b"><td colspan='2'><div><pre>        g.fill(shape15);
    }

    private void paintCompositeGraphicsNode_0_0_0(Graphics2D g) {
        // _0_0_0_0
        AffineTransform trans_0_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_0(g);
        g.setTransform(trans_0_0_0_0);
        // _0_0_0_1
        AffineTransform trans_0_0_0_1 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_1(g);
        g.setTransform(trans_0_0_0_1);
        // _0_0_0_2
        AffineTransform trans_0_0_0_2 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_2(g);
        g.setTransform(trans_0_0_0_2);
        // _0_0_0_3
        AffineTransform trans_0_0_0_3 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_3(g);
        g.setTransform(trans_0_0_0_3);
        // _0_0_0_4
        AffineTransform trans_0_0_0_4 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_4(g);
        g.setTransform(trans_0_0_0_4);
        // _0_0_0_5
        AffineTransform trans_0_0_0_5 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_5(g);
        g.setTransform(trans_0_0_0_5);
        // _0_0_0_6
        AffineTransform trans_0_0_0_6 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_6(g);
        g.setTransform(trans_0_0_0_6);
        // _0_0_0_7
        AffineTransform trans_0_0_0_7 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_7(g);
        g.setTransform(trans_0_0_0_7);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/painter/SpinnerNextButtonPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/SpinnerNextButtonPainter.html#71">71</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/painter/SpinnerPreviousButtonPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/SpinnerPreviousButtonPainter.html#77">77</a></td></tr><tr class="b"><td colspan='2'><div><pre>    public SpinnerNextButtonPainter(Which state) {
        super();
        this.ctx = new PaintContext(CacheMode.FIXED_SIZES);

        type = getButtonType(state);
        focused = (state == Which.BACKGROUND_FOCUSED || state == Which.BACKGROUND_PRESSED_FOCUSED);
        isForeground = isForeground(state);
    }

    @Override
    protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) {
        if (isForeground) {
            paintArrow(g, width, height);
        } else {
            paintButton(g, c, width, height);
        }
    }

    @Override
    protected PaintContext getPaintContext() {
        return ctx;
    }

    private CommonControlState getButtonType(Which state) {
        switch (state) {
        case BACKGROUND_DISABLED:
        case FOREGROUND_DISABLED:
            return CommonControlState.DISABLED;
        case BACKGROUND_ENABLED:
        case BACKGROUND_FOCUSED:
        case FOREGROUND_ENABLED:
        case FOREGROUND_FOCUSED:
            return CommonControlState.ENABLED;
        case BACKGROUND_PRESSED_FOCUSED:
        case BACKGROUND_PRESSED:
        case FOREGROUND_PRESSED_FOCUSED:
        case FOREGROUND_PRESSED:
            return CommonControlState.PRESSED;
        }
        return null;
    }

    private boolean isForeground(Which state) {
        switch (state) {
        case FOREGROUND_DISABLED:
        case FOREGROUND_ENABLED:
        case FOREGROUND_FOCUSED:
        case FOREGROUND_PRESSED_FOCUSED:
        case FOREGROUND_PRESSED:
            return true;
        default:
            return false;
        }
    }

    private void paintButton(Graphics2D g, JComponent c, int width, int height) {
        boolean useToolBarColors = isInToolBar(c);
        Shape s;

        if (focused) {
            s = createButtonShape(0, 0, width, height, CornerSize.OUTER_FOCUS);
            g.setPaint(getFocusPaint(s, FocusType.OUTER_FOCUS, useToolBarColors));
            g.fill(s);

            s = createButtonShape(0, 1, width - 1, height - 1, CornerSize.INNER_FOCUS);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#85">85</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#221">221</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#357">357</a></td></tr><tr class="a"><td colspan='2'><div><pre>                    DefaultEditorKit.downAction,
                    &quot;shift UP&quot;,
                    DefaultEditorKit.selectionUpAction,
                    &quot;shift KP_UP&quot;,
                    DefaultEditorKit.selectionUpAction,
                    &quot;shift DOWN&quot;,
                    DefaultEditorKit.selectionDownAction,
                    &quot;shift KP_DOWN&quot;,
                    DefaultEditorKit.selectionDownAction,
                    &quot;alt LEFT&quot;,
                    DefaultEditorKit.previousWordAction,
                    &quot;alt KP_LEFT&quot;,
                    DefaultEditorKit.previousWordAction,
                    &quot;alt RIGHT&quot;,
                    DefaultEditorKit.nextWordAction,
                    &quot;alt KP_RIGHT&quot;,
                    DefaultEditorKit.nextWordAction,
                    &quot;alt shift LEFT&quot;,
                    DefaultEditorKit.selectionPreviousWordAction,
                    &quot;alt shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionPreviousWordAction,
                    &quot;alt shift RIGHT&quot;,
                    DefaultEditorKit.selectionNextWordAction,
                    &quot;alt shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionNextWordAction,
                    &quot;alt UP&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;alt KP_UP&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;ctrl LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;ctrl KP_LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;meta LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;meta KP_LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;alt DOWN&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;alt KP_DOWN&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl KP_RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;meta RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;meta KP_RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl shift LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;ctrl shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;meta shift LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;meta shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;ctrl shift RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;ctrl shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;meta shift RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;meta shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;HOME&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;END&quot;,
                    DefaultEditorKit.endAction,
                    &quot;meta UP&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;meta KP_UP&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;meta DOWN&quot;,
                    DefaultEditorKit.endAction,
                    &quot;meta KP_DOWN&quot;,
                    DefaultEditorKit.endAction,
                    &quot;shift HOME&quot;,
                    DefaultEditorKit.selectionBeginAction,
                    &quot;shift END&quot;,
                    DefaultEditorKit.selectionEndAction,
                    &quot;meta A&quot;,
                    DefaultEditorKit.selectAllAction,
                    &quot;meta shift A&quot;,
                    &quot;unselect&quot;,
                    &quot;controlBackground shift O&quot;,
                    &quot;toggle-componentOrientation&quot;,
                    &quot;alt DELETE&quot;,
                    MacEditorKit.deleteNextWordAction,
                    &quot;alt BACK_SPACE&quot;,
                    MacEditorKit.deletePrevWordAction,
                    &quot;ENTER&quot;,
                    JTextField.notifyAction,
                });

        // Input map for password fields
        UIDefaults.LazyInputMap passwordFieldInputMap = new UIDefaults.LazyInputMap(new String[] {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#357">357</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#513">513</a></td></tr><tr class="a"><td colspan='2'><div><pre>                    &quot;decrement&quot;,
                    &quot;shift UP&quot;,
                    DefaultEditorKit.selectionUpAction,
                    &quot;shift KP_UP&quot;,
                    DefaultEditorKit.selectionUpAction,
                    &quot;shift DOWN&quot;,
                    DefaultEditorKit.selectionDownAction,
                    &quot;shift KP_DOWN&quot;,
                    DefaultEditorKit.selectionDownAction,
                    &quot;alt LEFT&quot;,
                    DefaultEditorKit.previousWordAction,
                    &quot;alt KP_LEFT&quot;,
                    DefaultEditorKit.previousWordAction,
                    &quot;alt RIGHT&quot;,
                    DefaultEditorKit.nextWordAction,
                    &quot;alt KP_RIGHT&quot;,
                    DefaultEditorKit.nextWordAction,
                    &quot;alt shift LEFT&quot;,
                    DefaultEditorKit.selectionPreviousWordAction,
                    &quot;alt shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionPreviousWordAction,
                    &quot;alt shift RIGHT&quot;,
                    DefaultEditorKit.selectionNextWordAction,
                    &quot;alt shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionNextWordAction,
                    &quot;alt UP&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;alt KP_UP&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;ctrl LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;ctrl KP_LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;meta LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;meta KP_LEFT&quot;,
                    DefaultEditorKit.beginLineAction,
                    &quot;alt DOWN&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;alt KP_DOWN&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl KP_RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;meta RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;meta KP_RIGHT&quot;,
                    DefaultEditorKit.endLineAction,
                    &quot;ctrl shift LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;ctrl shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;meta shift LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;meta shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBeginLineAction,
                    &quot;ctrl shift RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;ctrl shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;meta shift RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;meta shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionEndLineAction,
                    &quot;HOME&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;END&quot;,
                    DefaultEditorKit.endAction,
                    &quot;meta UP&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;meta KP_UP&quot;,
                    DefaultEditorKit.beginAction,
                    &quot;meta DOWN&quot;,
                    DefaultEditorKit.endAction,
                    &quot;meta KP_DOWN&quot;,
                    DefaultEditorKit.endAction,
                    &quot;shift HOME&quot;,
                    DefaultEditorKit.selectionBeginAction,
                    &quot;shift END&quot;,
                    DefaultEditorKit.selectionEndAction,
                    &quot;meta A&quot;,
                    DefaultEditorKit.selectAllAction,
                    &quot;meta shift A&quot;,
                    &quot;unselect&quot;,
                    &quot;controlBackground shift O&quot;,
                    &quot;toggle-componentOrientation&quot;,
                    &quot;alt DELETE&quot;,
                    MacEditorKit.deleteNextWordAction,
                    &quot;alt BACK_SPACE&quot;,
                    MacEditorKit.deletePrevWordAction,</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#78">78</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#87">87</a></td></tr><tr class="a"><td colspan='2'><div><pre>        shape1.curveTo(24.289057, 24.48455, 24.002058, 27.211046, 24.002058, 28.598211);
        shape1.closePath();
        g.fill(shape1);
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
    }

    private void paintCompositeGraphicsNode_0_0_0(Graphics2D g) {
        // _0_0_0_0
        AffineTransform trans_0_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.1066666841506958f, 0.0f, 0.0f, 1.1066666841506958f, -7.114285945892334f, -7.400000095367432f));
        paintShapeNode_0_0_0_0(g);
        g.setTransform(trans_0_0_0_0);
        // _0_0_0_1
        AffineTransform trans_0_0_0_1 = g.getTransform();
        g.transform(new AffineTransform(1.0083141326904297f, 0.0f, 0.0f, 0.9917544722557068f, 0.0f, 0.0f));
        paintTextNode_0_0_0_1(g);
        g.setTransform(trans_0_0_0_1);
    }

    private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
        // _0_0_0
        AffineTransform trans_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCompositeGraphicsNode_0_0_0(g);
        g.setTransform(trans_0_0_0);
    }

    private void paintRootGraphicsNode_0(Graphics2D g) {
        // _0_0
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
        AffineTransform trans_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCanvasGraphicsNode_0_0(g);
        g.setTransform(trans_0_0);
    }



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 3;
    }

    /**
     * Returns the Y of the bounding box of the original SVG image.
     * @return The Y of the bounding box of the original SVG image.
     */
    public int getOrigY() {
        return 3;
    }

    /**
     * Returns the width of the bounding box of the original SVG image.
     * @return The width of the bounding box of the original SVG image.
     */
    public int getOrigWidth() {
        return 42;
    }

    /**
     * Returns the height of the bounding box of the original SVG image.
     * @return The height of the bounding box of the original SVG image.
     */
    public int getOrigHeight() {
        return 42;
    }
    
    
    /**
     * The current width of this resizable icon.
     */
    int width;

    /**
     * The current height of this resizable icon.
     */
    int height;

    /**
     * Creates a new transcoded SVG image.
     */
    public InfoSign() {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#11">11</a></td></tr><tr class="a"><td colspan='2'><div><pre>public class ViewDetailsIcon implements Icon {
	
	private float origAlpha = 1.0f;

	/**
	 * Paints the transcoded SVG image on the specified graphics context. You
	 * can install a custom transformation on the graphics context to scale the
	 * image.
	 * 
	 * @param g
	 *            Graphics context.
	 */
	public void paint(Graphics2D g) {
		g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        origAlpha = 1.0f;
        Composite origComposite = g.getComposite();
        if (origComposite instanceof AlphaComposite) {
            AlphaComposite origAlphaComposite = 
                (AlphaComposite)origComposite;
            if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
                origAlpha = origAlphaComposite.getAlpha();
            }
        }
        
		// _0
		AffineTransform trans_0 = g.getTransform();
		paintRootGraphicsNode_0(g);
		g.setTransform(trans_0);

	}

	private void paintShapeNode_0_0_0_0(Graphics2D g) {
		RoundRectangle2D.Double shape0 = new RoundRectangle2D.Double(2.303576946258545, 0.9705909490585327, 11.702507972717285, 14.64108943939209, 1.711881160736084, 1.711881160736084);
		g.setPaint(new Color(119, 119, 118, 91));
		g.fill(shape0);
	}

	private void paintShapeNode_0_0_0_1(Graphics2D g) {
		RoundRectangle2D.Double shape1 = new RoundRectangle2D.Double(0.7421406507492065, 0.6831681728363037, 14.290312767028809, 14.64108943939209, 1.711881160736084, 1.711881160736084);
		g.setPaint(new Color(255, 255, 255, 255));
		g.fill(shape1);
		g.setPaint(new Color(0, 119, 203, 161));
		g.setStroke(new BasicStroke(0.27626216f,0,2,4.0f,null,0.0f));
		g.draw(shape1);
	}

	private void paintShapeNode_0_0_0_2(Graphics2D g) {
		Rectangle2D.Double shape2 = new Rectangle2D.Double(2.3876237869262695, 2.2135257720947266, 10.811881065368652, 0.5097317695617676);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2132">2132</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2190">2190</a></td></tr><tr class="a"><td colspan='2'><div><pre>        d.put(p + &quot;.background&quot;, getDerivedColor(&quot;seaGlassLightBackground&quot;, 0.0f, 0.0f, 0.0f, 0, true));
        d.put(p + &quot;[Disabled].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_DISABLED));
        d.put(p + &quot;[Enabled].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_ENABLED));
        d.put(p + &quot;[Selected].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_SELECTED));
        d.put(p + &quot;[Disabled].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_DISABLED));
        d.put(p + &quot;[Focused].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_FOCUSED));
        d.put(p + &quot;[Enabled].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_ENABLED));

        // Paint with SearchFieldPainter.
        d.put(p + &quot;[Disabled+SearchField].backgroundPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BACKGROUND_DISABLED));
        d.put(p + &quot;[Enabled+SearchField].backgroundPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BACKGROUND_ENABLED));
        d.put(p + &quot;[Selected+SearchField].backgroundPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BACKGROUND_SELECTED));
        d.put(p + &quot;[Disabled+SearchField].borderPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BORDER_DISABLED));
        d.put(p + &quot;[Focused+SearchField].borderPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BORDER_FOCUSED));
        d.put(p + &quot;[Enabled+SearchField].borderPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BORDER_ENABLED));

        // Initialize FormattedTextField
        p = &quot;FormattedTextField&quot;;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#165">165</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FloppyDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FloppyDiskIcon.html#139">139</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#200">200</a></td></tr><tr class="b"><td colspan='2'><div><pre>        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_2(g);
        g.setTransform(trans_0_0_0_2);
        // _0_0_0_3
        AffineTransform trans_0_0_0_3 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_3(g);
        g.setTransform(trans_0_0_0_3);
        // _0_0_0_4
        AffineTransform trans_0_0_0_4 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_4(g);
        g.setTransform(trans_0_0_0_4);
        // _0_0_0_5
        AffineTransform trans_0_0_0_5 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_5(g);
        g.setTransform(trans_0_0_0_5);
        // _0_0_0_6
        AffineTransform trans_0_0_0_6 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_6(g);
        g.setTransform(trans_0_0_0_6);
        // _0_0_0_7
        AffineTransform trans_0_0_0_7 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_7(g);
        g.setTransform(trans_0_0_0_7);
        // _0_0_0_8
        AffineTransform trans_0_0_0_8 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FloppyDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FloppyDiskIcon.html#139">139</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#100">100</a></td></tr><tr class="b"><td colspan='2'><div><pre>		g.transform(new AffineTransform(0.0f, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_2(g);
		g.setTransform(trans_0_0_0_2);
		// _0_0_0_3
		AffineTransform trans_0_0_0_3 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_3(g);
		g.setTransform(trans_0_0_0_3);
		// _0_0_0_4
		AffineTransform trans_0_0_0_4 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_4(g);
		g.setTransform(trans_0_0_0_4);
		// _0_0_0_5
		AffineTransform trans_0_0_0_5 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_5(g);
		g.setTransform(trans_0_0_0_5);
		// _0_0_0_6
		AffineTransform trans_0_0_0_6 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_6(g);
		g.setTransform(trans_0_0_0_6);
		// _0_0_0_7
		AffineTransform trans_0_0_0_7 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintShapeNode_0_0_0_7(g);
		g.setTransform(trans_0_0_0_7);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/painter/CheckBoxMenuItemPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/CheckBoxMenuItemPainter.html#60">60</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/painter/RadioButtonMenuItemPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/RadioButtonMenuItemPainter.html#52">52</a></td></tr><tr class="b"><td colspan='2'><div><pre>    public CheckBoxMenuItemPainter(Which state) {
        super(MenuItemPainter.Which.BACKGROUND_ENABLED);
        this.state = state;

        switch (state) {

        case BACKGROUND_DISABLED:
        case BACKGROUND_ENABLED:
        case BACKGROUND_MOUSEOVER:
        case BACKGROUND_SELECTED_MOUSEOVER:
            this.ctx = new PaintContext(CacheMode.NO_CACHING);
            break;

        default:
            this.ctx = new PaintContext(CacheMode.FIXED_SIZES);
            break;
        }
    }

    /**
     * {@inheritDoc}
     */
    @Override
    protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) {
        switch (state) {

        case BACKGROUND_MOUSEOVER:
            paintBackgroundMouseOver(g, c, width, height);
            break;

        case BACKGROUND_SELECTED_MOUSEOVER:
            paintBackgroundMouseOver(g, c, width, height);
            break;

        case CHECKICON_DISABLED_SELECTED:
            paintCheckIconDisabledAndSelected(g, width, height);
            break;

        case CHECKICON_ENABLED_SELECTED:
            paintCheckIconEnabledAndSelected(g, width, height);
            break;

        case CHECKICON_ENABLED:
            paintCheckIconEnabled(g, width, height);
            break;

        case CHECKICON_ENABLED_MOUSEOVER:
            paintCheckIconEnabledAndMouseOver(g, width, height);
            break;
            
        case CHECKICON_SELECTED_MOUSEOVER:
            paintCheckIconSelectedAndMouseOver(g, width, height);
            break;

        }
    }

    /**
     * {@inheritDoc}
     */
    @Override
    protected PaintContext getPaintContext() {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassStyle.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassStyle.html#876">876</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassStyleWrapper.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassStyleWrapper.html#138">138</a></td></tr><tr class="b"><td colspan='2'><div><pre>    }

    /**
     * Returns the font for the specified state. This should NOT call any method
     * on the &lt;code&gt;JComponent&lt;/code&gt;.
     *
     * &lt;p&gt;Overridden to cause this style to populate itself with data from
     * UIDefaults, if necessary. If a value named &quot;font&quot; is not found in
     * UIDefaults, then the &quot;defaultFont&quot; font in UIDefaults will be returned
     * instead.&lt;/p&gt;
     *
     * @param  ctx context SynthContext identifying requester
     *
     * @return Font to render with
     */
    @Override
    protected Font getFontForState(SynthContext ctx) {
        Font f = (Font) get(ctx, &quot;font&quot;);

        if (f == null)
            f = UIManager.getFont(&quot;defaultFont&quot;);

        // Account for scale
        // The key &quot;JComponent.sizeVariant&quot; is used to match Apple's LAF
        String scaleKey = SeaGlassStyle.getSizeVariant(ctx.getComponent());
        if (scaleKey != null) {
            if (LARGE_KEY.equals(scaleKey)) {
                f = f.deriveFont(Math.round(f.getSize2D() * LARGE_SCALE));
            } else if (SMALL_KEY.equals(scaleKey)) {
                f = f.deriveFont(Math.round(f.getSize2D() * SMALL_SCALE));
            } else if (MINI_KEY.equals(scaleKey)) {
                f = f.deriveFont(Math.round(f.getSize2D() * MINI_SCALE));
            }
        }

        return f;

    }

    /**
     * Returns the &lt;code&gt;SynthPainter&lt;/code&gt; that will be used for painting.
     * This ends up delegating to the Painters installed in this style. It may
     * return null;
     *
     * @param  ctx context SynthContext identifying requester
     *
     * @return SynthPainter to use
     */
    @Override
    public SynthPainter getPainter(SynthContext ctx) {
        return painter;
    }

    /**
     * Returns true if the region is opaque.
     *
     * &lt;p&gt;Overridden to cause this style to populate itself with data from
     * UIDefaults, if necessary. If opacity is not specified in UI defaults,
     * then it defaults to being non-opaque.&lt;/p&gt;
     *
     * @param  ctx context SynthContext identifying requester
     *
     * @return true if region is opaque.
     */
    @Override
    public boolean isOpaque(SynthContext ctx) {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#3454">3454</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/painter/AbstractRegionPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/AbstractRegionPainter.html#311">311</a></td></tr><tr class="b"><td colspan='2'><div><pre>        static int deriveARGB(Color color1, Color color2, float midPoint) {
            int r = color1.getRed() +
                    (int) ((color2.getRed() - color1.getRed()) * midPoint + 0.5f);
            int g = color1.getGreen() +
                    (int) ((color2.getGreen() - color1.getGreen()) * midPoint +
                            0.5f);
            int b = color1.getBlue() +
                    (int) ((color2.getBlue() - color1.getBlue()) * midPoint + 0.5f);
            int a = color1.getAlpha() +
                    (int) ((color2.getAlpha() - color1.getAlpha()) * midPoint +
                            0.5f);
            return ((a &amp; 0xFF) &lt;&lt; 24) |
                    ((r &amp; 0xFF) &lt;&lt; 16) |
                    ((g &amp; 0xFF) &lt;&lt; 8) |
                    (b &amp; 0xFF);
        }</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderHomeIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderHomeIcon.html#95">95</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderIcon.html#85">85</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#102">102</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#97">97</a></td></tr><tr class="b"><td colspan='2'><div><pre>        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_2(g);
        g.setTransform(trans_0_0_0_2);
        // _0_0_0_3
        AffineTransform trans_0_0_0_3 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_3(g);
        g.setTransform(trans_0_0_0_3);
    }

    private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
        // _0_0_0
        AffineTransform trans_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCompositeGraphicsNode_0_0_0(g);
        g.setTransform(trans_0_0_0);
    }

    private void paintRootGraphicsNode_0(Graphics2D g) {
        // _0_0
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
        AffineTransform trans_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCanvasGraphicsNode_0_0(g);
        g.setTransform(trans_0_0);
    }



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 2;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#35">35</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#11">11</a></td></tr><tr class="a"><td colspan='2'><div><pre>public class FileIcon implements Icon {
    
    private float origAlpha = 1.0f;

    /**
     * Paints the transcoded SVG image on the specified graphics context. You
     * can install a custom transformation on the graphics context to scale the
     * image.
     * 
     * @param g
     *            Graphics context.
     */
    public void paint(Graphics2D g) {
        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        origAlpha = 1.0f;
        Composite origComposite = g.getComposite();
        if (origComposite instanceof AlphaComposite) {
            AlphaComposite origAlphaComposite = 
                (AlphaComposite)origComposite;
            if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
                origAlpha = origAlphaComposite.getAlpha();
            }
        }
        
        // _0
        AffineTransform trans_0 = g.getTransform();
        paintRootGraphicsNode_0(g);
        g.setTransform(trans_0);

    }

    private void paintShapeNode_0_0_0_0(Graphics2D g) {
        RoundRectangle2D.Double shape0 = new RoundRectangle2D.Double(2.303576946258545, 0.9705909490585327, 11.702507972717285, 14.64108943939209, 1.711881160736084, 1.711881160736084);
        g.setPaint(new Color(119, 119, 118, 91));
        g.fill(shape0);
    }

    private void paintShapeNode_0_0_0_1(Graphics2D g) {
        RoundRectangle2D.Double shape1 = new RoundRectangle2D.Double(2.0128300189971924, 0.6831681728363037, 11.702507972717285, 14.64108943939209, 1.711881160736084, 1.711881160736084);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ErrorSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ErrorSign.html#161">161</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#300">300</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FloppyDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FloppyDiskIcon.html#249">249</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderHomeIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderHomeIcon.html#170">170</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderIcon.html#160">160</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#177">177</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#172">172</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/HardDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/HardDiskIcon.html#183">183</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#162">162</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#171">171</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#395">395</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#195">195</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/WarningSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/WarningSign.html#161">161</a></td></tr><tr class="b"><td colspan='2'><div><pre>    public ErrorSign() {
        this.width = getOrigWidth();
        this.height = getOrigHeight();
    }

    /*
     * (non-Javadoc)
     * @see javax.swing.Icon#getIconHeight()
     */
    @Override
    public int getIconHeight() {
        return height;
    }

    /*
     * (non-Javadoc)
     * @see javax.swing.Icon#getIconWidth()
     */
    @Override
    public int getIconWidth() {
        return width;
    }

    /*
     * Set the dimension of the icon.
     */

    public void setDimension(Dimension newDimension) {
        this.width = newDimension.width;
        this.height = newDimension.height;
    }

    /*
     * (non-Javadoc)
     * @see javax.swing.Icon#paintIcon(java.awt.Component, java.awt.Graphics, int, int)
     */
    @Override
    public void paintIcon(Component c, Graphics g, int x, int y) {
        Graphics2D g2d = (Graphics2D) g.create();
        g2d.translate(x, y);

        double coef1 = (double) this.width / (double) getOrigWidth();
        double coef2 = (double) this.height / (double) getOrigHeight();
        double coef = Math.min(coef1, coef2);
        g2d.scale(coef, coef);
        paint(g2d);
        g2d.dispose();
    }
}</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#327">327</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#127">127</a></td></tr><tr class="b"><td colspan='2'><div><pre>		g.setTransform(trans_0_0_0_27);
	}

	private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
		// _0_0_0
		AffineTransform trans_0_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCompositeGraphicsNode_0_0_0(g);
		g.setTransform(trans_0_0_0);
	}

	private void paintRootGraphicsNode_0(Graphics2D g) {
		// _0_0
		g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
		AffineTransform trans_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCanvasGraphicsNode_0_0(g);
		g.setTransform(trans_0_0);
	}



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 1;
    }

    /**
     * Returns the Y of the bounding box of the original SVG image.
     * @return The Y of the bounding box of the original SVG image.
     */
    public int getOrigY() {
        return 1;
    }

    /**
     * Returns the width of the bounding box of the original SVG image.
     * @return The width of the bounding box of the original SVG image.
     */
    public int getOrigWidth() {
        return 15;
    }

    /**
     * Returns the height of the bounding box of the original SVG image.
     * @return The height of the bounding box of the original SVG image.
     */
    public int getOrigHeight() {
        return 16;
    }
    
    
	/**
	 * The current width of this resizable icon.
	 */
	int width;

	/**
	 * The current height of this resizable icon.
	 */
	int height;

	/**
	 * Creates a new transcoded SVG image.
	 */
	public ViewDetailsIcon() {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2159">2159</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2189">2189</a></td></tr><tr class="b"><td colspan='2'><div><pre>        d.put(p + &quot;.background&quot;, getDerivedColor(&quot;seaGlassLightBackground&quot;, 0.0f, 0.0f, 0.0f, 0, true));
        d.put(p + &quot;[Disabled].textForeground&quot;, getDerivedColor(&quot;seaGlassDisabledText&quot;, 0, 0, 0, 0, true));
        d.put(p + &quot;[Disabled].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_DISABLED));
        d.put(p + &quot;[Enabled].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_ENABLED));
        d.put(p + &quot;[Selected].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_SELECTED));
        d.put(p + &quot;[Disabled].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_DISABLED));
        d.put(p + &quot;[Focused].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_FOCUSED));
        d.put(p + &quot;[Enabled].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_ENABLED));

        // Paint with SearchFieldPainter.
        d.put(p + &quot;[Disabled+SearchField].textForeground&quot;, getDerivedColor(&quot;seaGlassDisabledText&quot;, 0, 0, 0, 0, true));</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.html#525">525</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/component/SeaGlassTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassTitlePane.html#757">757</a></td></tr><tr class="b"><td colspan='2'><div><pre>        return SwingUtilities2.clipStringIfNecessary(frame, fm, text, availTextWidth);
    }

    /**
     * @see SeaglassUI#paintBorder(javax.swing.plaf.synth.SynthContext,
     *      java.awt.Graphics, int, int, int, int)
     */
    public void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) {
        ((SeaGlassContext) context).getPainter().paintInternalFrameTitlePaneBorder(context, g, x, y, w, h);
    }

    /**
     * Create the layout manager for the title pane.
     *
     * @return the layout manager.
     */
    private LayoutManager createLayout() {
        SeaGlassContext context = getContext(this);
        LayoutManager   lm      = (LayoutManager) style.get(context, &quot;InternalFrameTitlePane.titlePaneLayout&quot;);

        context.dispose();

        return (lm != null) ? lm : new SeaGlassTitlePaneLayout();
    }

    /**
     * @see java.beans.PropertyChangeListener#propertyChange(java.beans.PropertyChangeEvent)
     */
    public void propertyChange(PropertyChangeEvent evt) {
        if (evt.getSource() == this) {

            if (SeaGlassLookAndFeel.shouldUpdateStyle(evt)) {
                updateStyle(this);
            }
        } else {

            // Changes for the internal frame
            if (evt.getPropertyName() == JInternalFrame.FRAME_ICON_PROPERTY) {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.html#574">574</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/component/SeaGlassTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassTitlePane.html#833">833</a></td></tr><tr class="b"><td colspan='2'><div><pre>        }

        if (prop == JInternalFrame.IS_ICON_PROPERTY || prop == JInternalFrame.IS_MAXIMUM_PROPERTY) {
            setButtonTooltips();
            enableActions();

            return;
        }

        if (&quot;closable&quot; == prop) {

            if ((Boolean) evt.getNewValue() == Boolean.TRUE) {
                add(closeButton);
            } else {
                remove(closeButton);
            }
        } else if (&quot;maximizable&quot; == prop) {

            if ((Boolean) evt.getNewValue() == Boolean.TRUE) {
                add(maxButton);
            } else {
                remove(maxButton);
            }
        } else if (&quot;iconable&quot; == prop) {

            if ((Boolean) evt.getNewValue() == Boolean.TRUE) {
                add(iconButton);
            } else {
                remove(iconButton);
            }
        }

        enableActions();

        revalidate();
        repaint();
    }

    /**
     * Resets the menuButton icon to match that of the frame.
     */
    private void updateMenuIcon() {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/painter/TitlePaneIconifyButtonPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/TitlePaneIconifyButtonPainter.html#196">196</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/painter/TitlePaneMaximizeButtonPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/TitlePaneMaximizeButtonPainter.html#198">198</a></td></tr><tr class="b"><td colspan='2'><div><pre>        iconifyPainter.paintPressed(g, c, width, height);
    }

    /**
     * Paint the foreground restore button enabled state.
     *
     * @param g      the Graphics2D context to paint with.
     * @param c      the component.
     * @param width  the width of the component.
     * @param height the height of the component.
     */
    private void paintRestoreEnabled(Graphics2D g, JComponent c, int width, int height) {
        restorePainter.paintEnabled(g, c, width, height);
    }

    /**
     * Paint the foreground restore button mouse-over state.
     *
     * @param g      the Graphics2D context to paint with.
     * @param c      the component.
     * @param width  the width of the component.
     * @param height the height of the component.
     */
    private void paintRestoreHover(Graphics2D g, JComponent c, int width, int height) {
        restorePainter.paintHover(g, c, width, height);
    }

    /**
     * Paint the foreground restore button pressed state.
     *
     * @param g      the Graphics2D context to paint with.
     * @param c      the component.
     * @param width  the width of the component.
     * @param height the height of the component.
     */
    private void paintRestorePressed(Graphics2D g, JComponent c, int width, int height) {
        restorePainter.paintPressed(g, c, width, height);
    }

    /**
     * Paint the background of the button using the specified colors.
     *
     * @param g      the Graphics2D context to paint with.
     * @param c      the component.
     * @param width  the width of the component.
     * @param height the height of the component.
     * @param colors the color set to use to paint the button.
     */
    private void paintBackground(Graphics2D g, JComponent c, int width, int height, ButtonColors colors) {
        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
        g.setColor(colors.top);
        g.drawLine(1, 0, width - 2, 0);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/painter/util/ShapeGenerator.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/util/ShapeGenerator.html#577">577</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/painter/util/ShapeGenerator.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/util/ShapeGenerator.html#617">617</a></td></tr><tr class="b"><td colspan='2'><div><pre>        path.moveTo(xMid, yMid - offsetC);
        path.lineTo(xMid + xOffsetS, yMid - yOffsetL);
        path.lineTo(yMid + xOffsetL, yMid - yOffsetS);
        path.lineTo(xMid + offsetC, yMid);
        path.lineTo(xMid + xOffsetL, yMid + yOffsetS);
        path.lineTo(xMid + xOffsetS, yMid + yOffsetL);
        path.lineTo(xMid, yMid + offsetC);
        path.lineTo(xMid - xOffsetS, yMid + yOffsetL);
        path.lineTo(xMid - xOffsetL, yMid + yOffsetS);
        path.lineTo(xMid - offsetC, yMid);
        path.lineTo(xMid - xOffsetL, yMid - yOffsetS);
        path.lineTo(xMid - xOffsetS, yMid - yOffsetL);
        path.closePath();

        return path;
    }

    /**
     * Return a path for a &quot;cancel&quot; icon. This is a circle with a punched out
     * &quot;x&quot; in it.
     *
     * @param  x the X coordinate of the upper-left corner of the icon
     * @param  y the Y coordinate of the upper-left corner of the icon
     * @param  w the width of the icon
     * @param  h the height of the icon
     *
     * @return a path representing the shape.
     */
    public Shape createTabCloseIcon(int x, int y, int w, int h) {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2237">2237</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2248">2248</a></td></tr><tr class="b"><td colspan='2'><div><pre>        d.put(p + &quot;.contentMargins&quot;, new InsetsUIResource(4, 6, 4, 6));
        d.put(p + &quot;.opaque&quot;, Boolean.TRUE);
        d.put(p + &quot;[Disabled].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_SOLID_DISABLED));
        d.put(p + &quot;[Enabled].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_SOLID_ENABLED));
        d.put(p + &quot;[Selected].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_SELECTED));
        d.put(p + &quot;[Selected].textForeground&quot;, Color.WHITE);
        d.put(p + &quot;[Selected].textBackground&quot;, d.get(&quot;seaGlassSelection&quot;));
        d.put(p + &quot;[Disabled].textForeground&quot;, getDerivedColor(&quot;seaGlassDisabledText&quot;, 0, 0, 0, 0, true));

        // Initialize EditorPane
        p = &quot;EditorPane&quot;;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#92">92</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#101">101</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/WarningSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/WarningSign.html#91">91</a></td></tr><tr class="a"><td colspan='2'><div><pre>        g.transform(new AffineTransform(1.0083141326904297f, 0.0f, 0.0f, 0.9917544722557068f, 0.0f, 0.0f));
        paintTextNode_0_0_0_1(g);
        g.setTransform(trans_0_0_0_1);
    }

    private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
        // _0_0_0
        AffineTransform trans_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCompositeGraphicsNode_0_0_0(g);
        g.setTransform(trans_0_0_0);
    }

    private void paintRootGraphicsNode_0(Graphics2D g) {
        // _0_0
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
        AffineTransform trans_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCanvasGraphicsNode_0_0(g);
        g.setTransform(trans_0_0);
    }



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 3;
    }

    /**
     * Returns the Y of the bounding box of the original SVG image.
     * @return The Y of the bounding box of the original SVG image.
     */
    public int getOrigY() {
        return 3;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassSynthPainterImpl.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassSynthPainterImpl.html#1977">1977</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassSynthPainterImpl.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassSynthPainterImpl.html#2069">2069</a></td></tr><tr class="a"><td colspan='2'><div><pre>    public void paintTabbedPaneTabAreaBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int orientation) {
        if (orientation == JTabbedPane.LEFT) {
            AffineTransform transform = new AffineTransform();

            transform.scale(-1, 1);
            transform.rotate(Math.toRadians(90));
            paintBackground(context, g, y, x, h, w, transform);
        } else if (orientation == JTabbedPane.RIGHT) {
            AffineTransform transform = new AffineTransform();

            transform.rotate(Math.toRadians(90));
            transform.translate(0, -(x + w));
            paintBackground(context, g, y, 0, h, w, transform);
        } else if (orientation == JTabbedPane.BOTTOM) {
            AffineTransform transform = new AffineTransform();

            transform.translate(x, y);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.html#180">180</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/component/SeaGlassTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassTitlePane.html#451">451</a></td></tr><tr class="a"><td colspan='2'><div><pre>        addSubComponents();
    }

    /**
     * Add the button subcomponents to the title pane.
     */
    private void addSubComponents() {
        menuButton.setName(&quot;InternalFrameTitlePane.menuButton&quot;);
        iconButton.setName(&quot;InternalFrameTitlePane.iconifyButton&quot;);
        maxButton.setName(&quot;InternalFrameTitlePane.maximizeButton&quot;);
        closeButton.setName(&quot;InternalFrameTitlePane.closeButton&quot;);

        add(menuButton);
        add(iconButton);
        add(maxButton);
        add(closeButton);
    }

    /**
     * Create the actions for the buttons.
     */
    private void createActions() {
        maximizeAction = new MaximizeAction();
        iconifyAction  = new IconifyAction();
        closeAction    = new CloseAction();
        restoreAction  = new RestoreAction();
        moveAction     = new MoveAction();
        sizeAction     = new SizeAction();
    }

    /**
     * Create the action map for the system menu.
     *
     * @return the action map.
     */
    ActionMap createActionMap() {
        ActionMap map = new ActionMapUIResource();

        map.put(&quot;showSystemMenu&quot;, new ShowSystemMenuAction(true));
        map.put(&quot;hideSystemMenu&quot;, new ShowSystemMenuAction(false));

        return map;
    }

    /**
     * Install the listeners on the title pane.
     */
    protected void installListeners() {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/DesktopPane.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/DesktopPane.html#149">149</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ErrorSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ErrorSign.html#93">93</a></td></tr><tr class="a"><td colspan='2'><div><pre>        g.setTransform(trans_0_0_0_6);
    }

    private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
        // _0_0_0
        AffineTransform trans_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCompositeGraphicsNode_0_0_0(g);
        g.setTransform(trans_0_0_0);
    }

    private void paintRootGraphicsNode_0(Graphics2D g) {
        // _0_0
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
        AffineTransform trans_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCanvasGraphicsNode_0_0(g);
        g.setTransform(trans_0_0);
    }



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 0;
    }

    /**
     * Returns the Y of the bounding box of the original SVG image.
     * @return The Y of the bounding box of the original SVG image.
     */
    public int getOrigY() {
        return 0;
    }

    /**
     * Returns the width of the bounding box of the original SVG image.
     * @return The width of the bounding box of the original SVG image.
     */
    public int getOrigWidth() {
        return 640;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#232">232</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderHomeIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderHomeIcon.html#102">102</a></td></tr><tr class="a"><td colspan='2'><div><pre>        g.setTransform(trans_0_0_0_15);
    }

    private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
        // _0_0_0
        AffineTransform trans_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCompositeGraphicsNode_0_0_0(g);
        g.setTransform(trans_0_0_0);
    }

    private void paintRootGraphicsNode_0(Graphics2D g) {
        // _0_0
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
        AffineTransform trans_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCanvasGraphicsNode_0_0(g);
        g.setTransform(trans_0_0);
    }



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 2;
    }

    /**
     * Returns the Y of the bounding box of the original SVG image.
     * @return The Y of the bounding box of the original SVG image.
     */
    public int getOrigY() {
        return 1;
    }

    /**
     * Returns the width of the bounding box of the original SVG image.
     * @return The width of the bounding box of the original SVG image.
     */
    public int getOrigWidth() {
        return 13;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FloppyDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FloppyDiskIcon.html#181">181</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#94">94</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#103">103</a></td></tr><tr class="b"><td colspan='2'><div><pre>		g.setTransform(trans_0_0_0_10);
	}

	private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
		// _0_0_0
		AffineTransform trans_0_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCompositeGraphicsNode_0_0_0(g);
		g.setTransform(trans_0_0_0);
	}

	private void paintRootGraphicsNode_0(Graphics2D g) {
		// _0_0
		g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
		AffineTransform trans_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCanvasGraphicsNode_0_0(g);
		g.setTransform(trans_0_0);
	}



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 3;
    }

    /**
     * Returns the Y of the bounding box of the original SVG image.
     * @return The Y of the bounding box of the original SVG image.
     */
    public int getOrigY() {
        return 3;
    }

    /**
     * Returns the width of the bounding box of the original SVG image.
     * @return The width of the bounding box of the original SVG image.
     */
    public int getOrigWidth() {
        return 13;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.html#383">383</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/component/SeaGlassTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassTitlePane.html#388">388</a></td></tr><tr class="b"><td colspan='2'><div><pre>        setInheritsPopupMenu(true);
    }

    /**
     * Add the items to the system menu.
     *
     * @param menu the system menu popup.
     */
    private void addSystemMenuItems(JPopupMenu menu) {
        // PENDING: this should all be localizable!
        JMenuItem mi = (JMenuItem) menu.add(restoreAction);

        mi.setMnemonic('R');
        mi = (JMenuItem) menu.add(moveAction);
        mi.setMnemonic('M');
        mi = (JMenuItem) menu.add(sizeAction);
        mi.setMnemonic('S');
        mi = (JMenuItem) menu.add(iconifyAction);
        mi.setMnemonic('n');
        mi = (JMenuItem) menu.add(maximizeAction);
        mi.setMnemonic('x');
        menu.add(new JSeparator());
        mi = (JMenuItem) menu.add(closeAction);
        mi.setMnemonic('C');
    }

    /**
     * Show the system menu.
     */
    private void showSystemMenu() {
        Insets insets = frame.getInsets();</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ErrorSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ErrorSign.html#91">91</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#92">92</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#101">101</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/WarningSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/WarningSign.html#91">91</a></td></tr><tr class="b"><td colspan='2'><div><pre>        g.transform(new AffineTransform(1.1537352800369263f, 0.0f, 0.0f, 0.8667499423027039f, 0.0f, 0.0f));
        paintTextNode_0_0_0_1(g);
        g.setTransform(trans_0_0_0_1);
    }

    private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
        // _0_0_0
        AffineTransform trans_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCompositeGraphicsNode_0_0_0(g);
        g.setTransform(trans_0_0_0);
    }

    private void paintRootGraphicsNode_0(Graphics2D g) {
        // _0_0
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
        AffineTransform trans_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCanvasGraphicsNode_0_0(g);
        g.setTransform(trans_0_0);
    }



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 0;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/DesktopPane.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/DesktopPane.html#217">217</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ErrorSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ErrorSign.html#161">161</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#300">300</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FloppyDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FloppyDiskIcon.html#249">249</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderHomeIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderHomeIcon.html#170">170</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderIcon.html#160">160</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#177">177</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#172">172</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/HardDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/HardDiskIcon.html#183">183</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#162">162</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#171">171</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#395">395</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#195">195</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/WarningSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/WarningSign.html#161">161</a></td></tr><tr class="b"><td colspan='2'><div><pre>    public DesktopPane() {
        this.width = getOrigWidth();
        this.height = getOrigHeight();
    }

    /*
     * (non-Javadoc)
     * @see javax.swing.Icon#getIconHeight()
     */
    @Override
    public int getIconHeight() {
        return height;
    }

    /*
     * (non-Javadoc)
     * @see javax.swing.Icon#getIconWidth()
     */
    @Override
    public int getIconWidth() {
        return width;
    }

    /*
     * Set the dimension of the icon.
     */

    public void setDimension(Dimension newDimension) {
        this.width = newDimension.width;
        this.height = newDimension.height;
    }

    /*
     * (non-Javadoc)
     * @see javax.swing.Icon#paintIcon(java.awt.Component, java.awt.Graphics, int, int)
     */
    @Override
    public void paintIcon(Component c, Graphics g, int x, int y) {
        Graphics2D g2d = (Graphics2D) g.create();
        g2d.translate(x, y);

        double coef1 = (double) this.width / (double) getOrigWidth();
        double coef2 = (double) this.height / (double) getOrigHeight();</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2132">2132</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2160">2160</a></td></tr><tr class="b"><td colspan='2'><div><pre>        d.put(p + &quot;.background&quot;, getDerivedColor(&quot;seaGlassLightBackground&quot;, 0.0f, 0.0f, 0.0f, 0, true));
        d.put(p + &quot;[Disabled].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_DISABLED));
        d.put(p + &quot;[Enabled].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_ENABLED));
        d.put(p + &quot;[Selected].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_SELECTED));
        d.put(p + &quot;[Disabled].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_DISABLED));
        d.put(p + &quot;[Focused].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_FOCUSED));
        d.put(p + &quot;[Enabled].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_ENABLED));

        // Paint with SearchFieldPainter.
        d.put(p + &quot;[Disabled+SearchField].backgroundPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BACKGROUND_DISABLED));</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.html#282">282</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/component/SeaGlassTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassTitlePane.html#544">544</a></td></tr><tr class="b"><td colspan='2'><div><pre>        style = SeaGlassLookAndFeel.updateStyle(context, this);

        if (style != oldStyle) {
            titleSpacing = style.getInt(context, &quot;InternalFrameTitlePane.titleSpacing&quot;, 2);
        }

        context.dispose();
    }

    /**
     * Create the buttons and add action listeners.
     */
    private void createButtons() {
        iconButton = new NoFocusButton(&quot;InternalFrameTitlePane.iconifyButtonAccessibleName&quot;);
        iconButton.addActionListener(iconifyAction);

        if (iconButtonToolTip != null &amp;&amp; iconButtonToolTip.length() != 0) {
            iconButton.setToolTipText(iconButtonToolTip);
        }

        maxButton = new NoFocusButton(&quot;InternalFrameTitlePane.maximizeButtonAccessibleName&quot;);
        maxButton.addActionListener(maximizeAction);

        closeButton = new NoFocusButton(&quot;InternalFrameTitlePane.closeButtonAccessibleName&quot;);
        closeButton.addActionListener(closeAction);

        if (closeButtonToolTip != null &amp;&amp; closeButtonToolTip.length() != 0) {
            closeButton.setToolTipText(closeButtonToolTip);
        }

        setButtonTooltips();
    }

    /**
     * Set the buttons' tooltip text.
     */
    private void setButtonTooltips() {
        if (frame.isIcon()) {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderIcon.html#92">92</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#109">109</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#104">104</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/HardDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/HardDiskIcon.html#115">115</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#327">327</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#127">127</a></td></tr><tr class="b"><td colspan='2'><div><pre>		g.setTransform(trans_0_0_0_3);
	}

	private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
		// _0_0_0
		AffineTransform trans_0_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCompositeGraphicsNode_0_0_0(g);
		g.setTransform(trans_0_0_0);
	}

	private void paintRootGraphicsNode_0(Graphics2D g) {
		// _0_0
		g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
		AffineTransform trans_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCanvasGraphicsNode_0_0(g);
		g.setTransform(trans_0_0);
	}



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 1;
    }

    /**
     * Returns the Y of the bounding box of the original SVG image.
     * @return The Y of the bounding box of the original SVG image.
     */
    public int getOrigY() {
        return 4;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FloppyDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FloppyDiskIcon.html#181">181</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/WarningSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/WarningSign.html#93">93</a></td></tr><tr class="b"><td colspan='2'><div><pre>		g.setTransform(trans_0_0_0_10);
	}

	private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
		// _0_0_0
		AffineTransform trans_0_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCompositeGraphicsNode_0_0_0(g);
		g.setTransform(trans_0_0_0);
	}

	private void paintRootGraphicsNode_0(Graphics2D g) {
		// _0_0
		g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
		AffineTransform trans_0_0 = g.getTransform();
		g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
		paintCanvasGraphicsNode_0_0(g);
		g.setTransform(trans_0_0);
	}



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 3;
    }

    /**
     * Returns the Y of the bounding box of the original SVG image.
     * @return The Y of the bounding box of the original SVG image.
     */
    public int getOrigY() {
        return 3;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/painter/TitlePaneIconifyButtonPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/TitlePaneIconifyButtonPainter.html#112">112</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/painter/TitlePaneMaximizeButtonPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/TitlePaneMaximizeButtonPainter.html#114">114</a></td></tr><tr class="b"><td colspan='2'><div><pre>        case BACKGROUND_MINIMIZED_PRESSED_WINDOWNOTFOCUSED:
            paintBackgroundPressed(g, c, width, height);
            paintRestorePressed(g, c, width, height);
            break;
        }
    }

    /**
     * {@inheritDoc}
     */
    @Override
    protected PaintContext getPaintContext() {
        return ctx;
    }

    /**
     * Paint the background enabled state.
     *
     * @param g      the Graphics2D context to paint with.
     * @param c      the component.
     * @param width  the width of the component.
     * @param height the height of the component.
     */
    private void paintBackgroundEnabled(Graphics2D g, JComponent c, int width, int height) {
        paintBackground(g, c, width, height, enabled);
    }

    /**
     * Paint the background mouse-over state.
     *
     * @param g      the Graphics2D context to paint with.
     * @param c      the component.
     * @param width  the width of the component.
     * @param height the height of the component.
     */
    private void paintBackgroundHover(Graphics2D g, JComponent c, int width, int height) {
        paintBackground(g, c, width, height, hover);
    }

    /**
     * Paint the background pressed state.
     *
     * @param g      the Graphics2D context to paint with.
     * @param c      the component.
     * @param width  the width of the component.
     * @param height the height of the component.
     */
    private void paintBackgroundPressed(Graphics2D g, JComponent c, int width, int height) {
        paintBackground(g, c, width, height, pressed);
    }

    /**
     * Paint the foreground minimized button enabled state.
     *
     * @param g      the Graphics2D context to paint with.
     * @param c      the component.
     * @param width  the width of the component.
     * @param height the height of the component.
     */
    private void paintMinimizeEnabled(Graphics2D g, JComponent c, int width, int height) {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.html#758">758</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/component/SeaGlassTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassTitlePane.html#1040">1040</a></td></tr><tr class="b"><td colspan='2'><div><pre>            height = Math.max(fm.getHeight() + 2, height);

            width += titleSpacing + titleSpacing;

            Insets insets = getInsets();

            height += insets.top + insets.bottom;
            width  += insets.left + insets.right;
            context.dispose();

            return new Dimension(width, height);
        }

        /**
         * Determine the position of a button.
         *
         * @param  c        the button.
         * @param  insets   the title pane insets.
         * @param  x        the x position of the button.
         * @param  trailing Are we at the right edge?
         *
         * @return the modified x position for the button.
         */
        private int center(Component c, Insets insets, int x, boolean trailing) {
            Dimension pref  = c.getPreferredSize();
            int       width = pref.width;

            if (c instanceof JButton &amp;&amp; ((JButton) c).getIcon() != null) {
                width = ((JButton) c).getIcon().getIconWidth();
            }

            if (trailing) {
                x -= width;
            }

            int y = 0;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2138">2138</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2169">2169</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2196">2196</a></td></tr><tr class="a"><td colspan='2'><div><pre>        d.put(p + &quot;[Enabled].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_ENABLED));

        // Paint with SearchFieldPainter.
        d.put(p + &quot;[Disabled+SearchField].backgroundPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BACKGROUND_DISABLED));
        d.put(p + &quot;[Enabled+SearchField].backgroundPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BACKGROUND_ENABLED));
        d.put(p + &quot;[Selected+SearchField].backgroundPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BACKGROUND_SELECTED));
        d.put(p + &quot;[Disabled+SearchField].borderPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BORDER_DISABLED));
        d.put(p + &quot;[Focused+SearchField].borderPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BORDER_FOCUSED));
        d.put(p + &quot;[Enabled+SearchField].borderPainter&quot;, new LazyPainter(cs, SearchFieldPainter.Which.BORDER_ENABLED));

        // Initialize FormattedTextField
        p = &quot;FormattedTextField&quot;;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2187">2187</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2214">2214</a></td></tr><tr class="a"><td colspan='2'><div><pre>        d.put(p + &quot;.background&quot;, getDerivedColor(&quot;seaGlassLightBackground&quot;, 0.0f, 0.0f, 0.0f, 0, true));
        d.put(p + &quot;[Selected].textForeground&quot;, Color.WHITE);
        d.put(p + &quot;[Selected].textBackground&quot;, d.get(&quot;seaGlassSelection&quot;));
        d.put(p + &quot;[Disabled].textForeground&quot;, getDerivedColor(&quot;seaGlassDisabledText&quot;, 0, 0, 0, 0, true));
        d.put(p + &quot;[Disabled].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_DISABLED));
        d.put(p + &quot;[Enabled].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_ENABLED));
        d.put(p + &quot;[Selected].backgroundPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BACKGROUND_SELECTED));
        d.put(p + &quot;[Disabled].borderPainter&quot;, new LazyPainter(c, TextComponentPainter.Which.BORDER_DISABLED));</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/DesktopPane.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/DesktopPane.html#149">149</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ErrorSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ErrorSign.html#93">93</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#232">232</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FloppyDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FloppyDiskIcon.html#181">181</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderHomeIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderHomeIcon.html#102">102</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderIcon.html#92">92</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#109">109</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#104">104</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/HardDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/HardDiskIcon.html#115">115</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#94">94</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#103">103</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#327">327</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#127">127</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/WarningSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/WarningSign.html#93">93</a></td></tr><tr class="a"><td colspan='2'><div><pre>        g.setTransform(trans_0_0_0_6);
    }

    private void paintCanvasGraphicsNode_0_0(Graphics2D g) {
        // _0_0_0
        AffineTransform trans_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCompositeGraphicsNode_0_0_0(g);
        g.setTransform(trans_0_0_0);
    }

    private void paintRootGraphicsNode_0(Graphics2D g) {
        // _0_0
        g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
        AffineTransform trans_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintCanvasGraphicsNode_0_0(g);
        g.setTransform(trans_0_0);
    }



    /**
     * Returns the X of the bounding box of the original SVG image.
     * @return The X of the bounding box of the original SVG image.
     */
    public int getOrigX() {
        return 0;</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ErrorSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ErrorSign.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/WarningSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/WarningSign.html#11">11</a></td></tr><tr class="a"><td colspan='2'><div><pre>public class ErrorSign implements Icon {
    
    private float origAlpha = 1.0f;

    /**
     * Paints the transcoded SVG image on the specified graphics context. You
     * can install a custom transformation on the graphics context to scale the
     * image.
     * 
     * @param g
     *            Graphics context.
     */
    public void paint(Graphics2D g) {
        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        origAlpha = 1.0f;
        Composite origComposite = g.getComposite();
        if (origComposite instanceof AlphaComposite) {
            AlphaComposite origAlphaComposite = 
                (AlphaComposite)origComposite;
            if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
                origAlpha = origAlphaComposite.getAlpha();
            }
        }
        
        // _0
        AffineTransform trans_0 = g.getTransform();
        paintRootGraphicsNode_0(g);
        g.setTransform(trans_0);

    }

    private void paintShapeNode_0_0_0_0(Graphics2D g) {
        GeneralPath shape0 = new GeneralPath();
        shape0.moveTo(22.857143, 2.285714);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/DesktopPane.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/DesktopPane.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderHomeIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderHomeIcon.html#11">11</a></td></tr><tr class="a"><td colspan='2'><div><pre>public class DesktopPane implements Icon {
    
    private float origAlpha = 1.0f;

    /**
     * Paints the transcoded SVG image on the specified graphics context. You
     * can install a custom transformation on the graphics context to scale the
     * image.
     * 
     * @param g
     *            Graphics context.
     */
    public void paint(Graphics2D g) {
        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        origAlpha = 1.0f;
        Composite origComposite = g.getComposite();
        if (origComposite instanceof AlphaComposite) {
            AlphaComposite origAlphaComposite = 
                (AlphaComposite)origComposite;
            if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
                origAlpha = origAlphaComposite.getAlpha();
            }
        }
        
        // _0
        AffineTransform trans_0 = g.getTransform();
        paintRootGraphicsNode_0(g);
        g.setTransform(trans_0);

    }

    private void paintShapeNode_0_0_0_0(Graphics2D g) {
        Rectangle2D.Double shape0 = new Rectangle2D.Double(0.5211939811706543, -0.20508375763893127, 640.34130859375, 481.18701171875);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#35">35</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FloppyDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FloppyDiskIcon.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderIcon.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/HardDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/HardDiskIcon.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#11">11</a></td></tr><tr class="a"><td colspan='2'><div><pre>public class FileIcon implements Icon {
    
    private float origAlpha = 1.0f;

    /**
     * Paints the transcoded SVG image on the specified graphics context. You
     * can install a custom transformation on the graphics context to scale the
     * image.
     * 
     * @param g
     *            Graphics context.
     */
    public void paint(Graphics2D g) {
        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        origAlpha = 1.0f;
        Composite origComposite = g.getComposite();
        if (origComposite instanceof AlphaComposite) {
            AlphaComposite origAlphaComposite = 
                (AlphaComposite)origComposite;
            if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
                origAlpha = origAlphaComposite.getAlpha();
            }
        }
        
        // _0
        AffineTransform trans_0 = g.getTransform();
        paintRootGraphicsNode_0(g);
        g.setTransform(trans_0);

    }

    private void paintShapeNode_0_0_0_0(Graphics2D g) {
        RoundRectangle2D.Double shape0 = new RoundRectangle2D.Double(2.303576946258545, 0.9705909490585327, 11.702507972717285, 14.64108943939209, 1.711881160736084, 1.711881160736084);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassSynthPainterImpl.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassSynthPainterImpl.html#332">332</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassSynthPainterImpl.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassSynthPainterImpl.html#585">585</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassSynthPainterImpl.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassSynthPainterImpl.html#744">744</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassSynthPainterImpl.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassSynthPainterImpl.html#2294">2294</a></td></tr><tr class="a"><td colspan='2'><div><pre>    public void paintArrowButtonBackground(SynthContext context, Graphics g, int x, int y, int w, int h) {
        if (context.getComponent().getComponentOrientation().isLeftToRight()) {
            paintBackground(context, g, x, y, w, h, null);
        } else {
            AffineTransform transform = new AffineTransform();

            transform.translate(x, y);
            transform.scale(-1, 1);
            transform.translate(-w, 0);
            paintBackground(context, g, 0, 0, w, h, transform);
        }
    }

    /**
     * Paints the border of an arrow button. Arrow buttons are created by some
     * components, such as &lt;code&gt;JScrollBar&lt;/code&gt;.
     *
     * @param context SynthContext identifying the &lt;code&gt;JComponent&lt;/code&gt; and
     *                &lt;code&gt;Region&lt;/code&gt; to paint to
     * @param g       &lt;code&gt;Graphics&lt;/code&gt; to paint to
     * @param x       X coordinate of the area to paint to
     * @param y       Y coordinate of the area to paint to
     * @param w       Width of the area to paint to
     * @param h       Height of the area to paint to
     */
    public void paintArrowButtonBorder(SynthContext context, Graphics g, int x, int y, int w, int h) {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassSynthPainterImpl.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassSynthPainterImpl.html#768">768</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassSynthPainterImpl.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassSynthPainterImpl.html#2318">2318</a></td></tr><tr class="a"><td colspan='2'><div><pre>    public void paintFormattedTextFieldBorder(SynthContext context, Graphics g, int x, int y, int w, int h) {
        if (context.getComponent().getComponentOrientation().isLeftToRight()) {
            paintBorder(context, g, x, y, w, h, null);
        } else {
            AffineTransform transform = new AffineTransform();

            transform.translate(x, y);
            transform.scale(-1, 1);
            transform.translate(-w, 0);
            paintBorder(context, g, 0, 0, w, h, transform);
        }
    }

    /**
     * Paints the background of an internal frame title pane.
     *
     * @param context SynthContext identifying the &lt;code&gt;JComponent&lt;/code&gt; and
     *                &lt;code&gt;Region&lt;/code&gt; to paint to
     * @param g       &lt;code&gt;Graphics&lt;/code&gt; to paint to
     * @param x       X coordinate of the area to paint to
     * @param y       Y coordinate of the area to paint to
     * @param w       Width of the area to paint to
     * @param h       Height of the area to paint to
     */
    public void paintInternalFrameTitlePaneBackground(SynthContext context, Graphics g, int x, int y, int w, int h) {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/DesktopPane.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/DesktopPane.html#73">73</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/DesktopPane.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/DesktopPane.html#97">97</a></td></tr><tr class="a"><td colspan='2'><div><pre>        shape3.closePath();
        g.setPaint(new RadialGradientPaint(new Point2D.Double(352.8571472167969, -181.9235382080078), 135.71428f, new Point2D.Double(352.8571472167969, -181.9235382080078), new float[] {0.0f,1.0f}, new Color[] {new Color(118, 255, 255, 50),new Color(118, 255, 255, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 0.694736897945404f, 0.0f, -55.534549713134766f)));
        g.fill(shape3);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/DesktopPane.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/DesktopPane.html#61">61</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/DesktopPane.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/DesktopPane.html#109">109</a></td></tr><tr class="a"><td colspan='2'><div><pre>        shape2.closePath();
        g.setPaint(new RadialGradientPaint(new Point2D.Double(352.8571472167969, -181.9235382080078), 135.71428f, new Point2D.Double(352.8571472167969, -181.9235382080078), new float[] {0.0f,1.0f}, new Color[] {new Color(118, 255, 255, 20),new Color(118, 255, 255, 0)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 0.694736897945404f, 0.0f, -55.534549713134766f)));
        g.fill(shape2);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/ui/SeaGlassDesktopIconUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassDesktopIconUI.html#140">140</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/ui/SeaGlassDesktopPaneUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassDesktopPaneUI.html#415">415</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/ui/SeaGlassInternalFrameUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassInternalFrameUI.html#173">173</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/ui/SeaGlassPanelUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassPanelUI.html#172">172</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/ui/SeaGlassPopupMenuUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassPopupMenuUI.html#205">205</a></td></tr><tr class="b"><td colspan='2'><div><pre>        context.getPainter().paintDesktopIconBackground(context, g, 0, 0, c.getWidth(), c.getHeight());
        paint(context, g);
        context.dispose();
    }

    public void paint(Graphics g, JComponent c) {
        SeaGlassContext context = getContext(c);

        paint(context, g);
        context.dispose();
    }

    protected void paint(SeaGlassContext context, Graphics g) {
    }

    public void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h) {
        ((SeaGlassContext) context).getPainter().paintDesktopIconBorder(context, g, x, y, w, h);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#45">45</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#317">317</a></td></tr><tr class="b"><td colspan='2'><div><pre>        UIDefaults.LazyInputMap fieldInputMap = new UIDefaults.LazyInputMap(new String[] {
                    &quot;BACK_SPACE&quot;,
                    DefaultEditorKit.deletePrevCharAction,
                    &quot;DELETE&quot;,
                    DefaultEditorKit.deleteNextCharAction,
                    &quot;meta X&quot;,
                    DefaultEditorKit.cutAction,
                    &quot;meta C&quot;,
                    DefaultEditorKit.copyAction,
                    &quot;meta V&quot;,
                    DefaultEditorKit.pasteAction,
                    &quot;CUT&quot;,
                    DefaultEditorKit.cutAction,
                    &quot;COPY&quot;,
                    DefaultEditorKit.copyAction,
                    &quot;PASTE&quot;,
                    DefaultEditorKit.pasteAction,
                    &quot;RIGHT&quot;,
                    DefaultEditorKit.forwardAction,
                    &quot;KP_RIGHT&quot;,
                    DefaultEditorKit.forwardAction,
                    &quot;LEFT&quot;,
                    DefaultEditorKit.backwardAction,
                    &quot;KP_LEFT&quot;,
                    DefaultEditorKit.backwardAction,
                    &quot;shift RIGHT&quot;,
                    DefaultEditorKit.selectionForwardAction,
                    &quot;shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionForwardAction,
                    &quot;shift LEFT&quot;,
                    DefaultEditorKit.selectionBackwardAction,
                    &quot;shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBackwardAction,
                    &quot;UP&quot;,</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/ui/SeaGlassToolBarUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassToolBarUI.html#258">258</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/ui/SeaGlassToolBarUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassToolBarUI.html#294">294</a></td></tr><tr class="b"><td colspan='2'><div><pre>        public Dimension minimumLayoutSize(Container parent) {
            JToolBar tb = (JToolBar) parent;
            Insets insets = tb.getInsets();
            Dimension dim = new Dimension();
            SeaGlassContext context = getContext(tb);

            if (tb.getOrientation() == JToolBar.HORIZONTAL) {
                dim.width = tb.isFloatable() ? SeaGlassIcon.getIconWidth(handleIcon, context) : 0;
                Dimension compDim;
                for (int i = 0; i &lt; tb.getComponentCount(); i++) {
                    Component component = tb.getComponent(i);
                    if (component.isVisible()) {
                        compDim = component.getMinimumSize();</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#45">45</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#317">317</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/util/MacKeybindings.java</td><td><a href="./xref/com/seaglasslookandfeel/util/MacKeybindings.html#607">607</a></td></tr><tr class="a"><td colspan='2'><div><pre>        UIDefaults.LazyInputMap fieldInputMap = new UIDefaults.LazyInputMap(new String[] {
                    &quot;BACK_SPACE&quot;,
                    DefaultEditorKit.deletePrevCharAction,
                    &quot;DELETE&quot;,
                    DefaultEditorKit.deleteNextCharAction,
                    &quot;meta X&quot;,
                    DefaultEditorKit.cutAction,
                    &quot;meta C&quot;,
                    DefaultEditorKit.copyAction,
                    &quot;meta V&quot;,
                    DefaultEditorKit.pasteAction,
                    &quot;CUT&quot;,
                    DefaultEditorKit.cutAction,
                    &quot;COPY&quot;,
                    DefaultEditorKit.copyAction,
                    &quot;PASTE&quot;,
                    DefaultEditorKit.pasteAction,
                    &quot;RIGHT&quot;,
                    DefaultEditorKit.forwardAction,
                    &quot;KP_RIGHT&quot;,
                    DefaultEditorKit.forwardAction,
                    &quot;LEFT&quot;,
                    DefaultEditorKit.backwardAction,
                    &quot;KP_LEFT&quot;,
                    DefaultEditorKit.backwardAction,
                    &quot;shift RIGHT&quot;,
                    DefaultEditorKit.selectionForwardAction,
                    &quot;shift KP_RIGHT&quot;,
                    DefaultEditorKit.selectionForwardAction,
                    &quot;shift LEFT&quot;,
                    DefaultEditorKit.selectionBackwardAction,
                    &quot;shift KP_LEFT&quot;,
                    DefaultEditorKit.selectionBackwardAction,</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassInternalFrameTitlePane.html#744">744</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/component/SeaGlassTitlePane.java</td><td><a href="./xref/com/seaglasslookandfeel/component/SeaGlassTitlePane.html#1026">1026</a></td></tr><tr class="a"><td colspan='2'><div><pre>            String             frameTitle    = frame.getTitle();
            int                title_w       = frameTitle != null ? graphicsUtils.computeStringWidth(context, fm.getFont(), fm, frameTitle)
                                                                  : 0;
            int                title_length  = frameTitle != null ? frameTitle.length() : 0;

            // Leave room for three characters in the title.
            if (title_length &gt; 3) {
                int subtitle_w = graphicsUtils.computeStringWidth(context, fm.getFont(), fm, frameTitle.substring(0, 3) + &quot;...&quot;);

                width += (title_w &lt; subtitle_w) ? title_w : subtitle_w;
            } else {
                width += title_w;
            }

            height = Math.max(fm.getHeight() + 2, height);</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/painter/TabbedPaneTabPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/TabbedPaneTabPainter.html#124">124</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/painter/button/SegmentedButtonPainter.java</td><td><a href="./xref/com/seaglasslookandfeel/painter/button/SegmentedButtonPainter.html#82">82</a></td></tr><tr class="a"><td colspan='2'><div><pre>        width  -= focusInsets.left + focusInsets.right;
        height -= focusInsets.top + focusInsets.bottom;

        boolean useToolBarFocus = isInToolBar(c);
        Shape   s;

        if (focused) {
            s = createOuterFocus(segmentStatus, x, y, width, height);
            g.setPaint(getFocusPaint(s, FocusType.OUTER_FOCUS, useToolBarFocus));
            g.draw(s);
            s = createInnerFocus(segmentStatus, x, y, width, height);
            g.setPaint(getFocusPaint(s, FocusType.INNER_FOCUS, useToolBarFocus));
            g.draw(s);
        }</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/ui/SeaGlassScrollBarUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassScrollBarUI.html#523">523</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/ui/SeaGlassScrollBarUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassScrollBarUI.html#553">553</a></td></tr><tr class="a"><td colspan='2'><div><pre>        trackRect.setBounds(lv.trackPosition, lv.itemEdge, lv.trackLength, lv.itemThickness);
        decrButton.setBounds(lv.decrButtonPosition, lv.itemEdge, lv.decrButtonLength, lv.itemThickness);
        incrButton.setBounds(lv.incrButtonPosition, lv.itemEdge, lv.incrButtonLength, lv.itemThickness);
        if (lv.thumbLength &gt; 0) {
            setThumbBounds(lv.thumbPosition, lv.itemEdge, lv.thumbLength, lv.itemThickness);
        } else {
            setThumbBounds(0, 0, 0, 0);
        }
    }

    private void layoutHScrollbarTogetherRightToLeft(JScrollBar sb) {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/ui/SeaGlassPanelUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassPanelUI.html#132">132</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/ui/SeaGlassTextAreaUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassTextAreaUI.html#100">100</a></td></tr><tr class="a"><td colspan='2'><div><pre>        LookAndFeel.installProperty(c, &quot;opaque&quot;, !(c.getBackground() instanceof UIResource));
    }

    /**
     * @see SeaglassUI#getContext(javax.swing.JComponent)
     */
    public SeaGlassContext getContext(JComponent c) {
        return getContext(c, getComponentState(c));
    }

    /**
     * Get the Synth context.
     *
     * @param  c     the panel.
     * @param  state the Synth state.
     *
     * @return the context.
     */
    private SeaGlassContext getContext(JComponent c, int state) {
        return SeaGlassContext.getContext(SeaGlassContext.class, c, SeaGlassLookAndFeel.getRegion(c), style, state);
    }

    /**
     * Get the Synth state of the panel.
     *
     * @param  c the panel.
     *
     * @return the state.
     */
    private int getComponentState(JComponent c) {
        return SeaGlassLookAndFeel.getComponentState(c);
    }

    /**
     * @see javax.swing.plaf.ComponentUI#update(java.awt.Graphics, javax.swing.JComponent)
     */
    public void update(Graphics g, JComponent c) {
        SeaGlassContext context = getContext(c);

        SeaGlassLookAndFeel.update(context, g);
        context.getPainter().paintPanelBackground(context, g, 0, 0, c.getWidth(), c.getHeight());</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#959">959</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#974">974</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/SeaGlassLookAndFeel.java</td><td><a href="./xref/com/seaglasslookandfeel/SeaGlassLookAndFeel.html#2325">2325</a></td></tr><tr class="b"><td colspan='2'><div><pre>                              ButtonPainter.Which.BACKGROUND_PRESSED_DEFAULT_FOCUSED));
        d.put(p + &quot;[Disabled].backgroundPainter&quot;, new LazyPainter(c, ButtonPainter.Which.BACKGROUND_DISABLED));
        d.put(p + &quot;[Enabled].backgroundPainter&quot;, new LazyPainter(c, ButtonPainter.Which.BACKGROUND_ENABLED));
        d.put(p + &quot;[Focused].backgroundPainter&quot;, new LazyPainter(c, ButtonPainter.Which.BACKGROUND_FOCUSED));
        d.put(p + &quot;[Pressed].backgroundPainter&quot;, new LazyPainter(c, ButtonPainter.Which.BACKGROUND_PRESSED));
        d.put(p + &quot;[Focused+Pressed].backgroundPainter&quot;, new LazyPainter(c, ButtonPainter.Which.BACKGROUND_PRESSED_FOCUSED));</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/icons/DesktopPane.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/DesktopPane.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ErrorSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ErrorSign.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#35">35</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FloppyDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FloppyDiskIcon.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderHomeIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderHomeIcon.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderIcon.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FolderNewIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderNewIcon.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FolderUpIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FolderUpIcon.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/HardDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/HardDiskIcon.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#11">11</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#11">11</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/WarningSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/WarningSign.html#11">11</a></td></tr><tr class="b"><td colspan='2'><div><pre>public class DesktopPane implements Icon {
    
    private float origAlpha = 1.0f;

    /**
     * Paints the transcoded SVG image on the specified graphics context. You
     * can install a custom transformation on the graphics context to scale the
     * image.
     * 
     * @param g
     *            Graphics context.
     */
    public void paint(Graphics2D g) {
        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        origAlpha = 1.0f;
        Composite origComposite = g.getComposite();
        if (origComposite instanceof AlphaComposite) {
            AlphaComposite origAlphaComposite = 
                (AlphaComposite)origComposite;
            if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
                origAlpha = origAlphaComposite.getAlpha();
            }
        }
        
        // _0
        AffineTransform trans_0 = g.getTransform();
        paintRootGraphicsNode_0(g);
        g.setTransform(trans_0);

    }

    private void paintShapeNode_0_0_0_0(Graphics2D g) {</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Line</th></tr><tr class="b"><td>com/seaglasslookandfeel/ui/SeaGlassDesktopPaneUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassDesktopPaneUI.html#397">397</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/ui/SeaGlassPanelUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassPanelUI.html#133">133</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/ui/SeaGlassTextAreaUI.java</td><td><a href="./xref/com/seaglasslookandfeel/ui/SeaGlassTextAreaUI.html#101">101</a></td></tr><tr class="a"><td colspan='2'><div><pre>    }

    public SeaGlassContext getContext(JComponent c) {
        return getContext(c, getComponentState(c));
    }

    private SeaGlassContext getContext(JComponent c, int state) {
        return SeaGlassContext.getContext(SeaGlassContext.class, c, SeaGlassLookAndFeel.getRegion(c), style, state);
    }

    private int getComponentState(JComponent c) {
        return SeaGlassLookAndFeel.getComponentState(c);
    }

    public void update(Graphics g, JComponent c) {
        SeaGlassContext context = getContext(c);

        SeaGlassLookAndFeel.update(context, g);
        context.getPainter().paintDesktopPaneBackground(context, g, 0, 0, c.getWidth(), c.getHeight());</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/DesktopPane.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/DesktopPane.html#111">111</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/FileIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FileIcon.html#149">149</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/FloppyDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/FloppyDiskIcon.html#123">123</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/HardDiskIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/HardDiskIcon.html#87">87</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ViewDetailsIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewDetailsIcon.html#184">184</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/ViewListIcon.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ViewListIcon.html#84">84</a></td></tr><tr class="a"><td colspan='2'><div><pre>        g.fill(shape6);
    }

    private void paintCompositeGraphicsNode_0_0_0(Graphics2D g) {
        // _0_0_0_0
        AffineTransform trans_0_0_0_0 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_0(g);
        g.setTransform(trans_0_0_0_0);
        // _0_0_0_1
        AffineTransform trans_0_0_0_1 = g.getTransform();
        g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
        paintShapeNode_0_0_0_1(g);
        g.setTransform(trans_0_0_0_1);
        // _0_0_0_2
        AffineTransform trans_0_0_0_2 = g.getTransform();
        g.transform(new AffineTransform(1.1386866569519043f, -0.04198896139860153f, -1.6342432498931885f, 0.49277809262275696f, -342.33349609375f, 207.8478240966797f));</pre></div></td></tr></table><table border="0" class="bodyTable"><tr class="b"><th>File</th><th>Line</th></tr><tr class="a"><td>com/seaglasslookandfeel/icons/ErrorSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/ErrorSign.html#54">54</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/InfoSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/InfoSign.html#50">50</a></td></tr><tr class="a"><td>com/seaglasslookandfeel/icons/QuestionSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/QuestionSign.html#50">50</a></td></tr><tr class="b"><td>com/seaglasslookandfeel/icons/WarningSign.java</td><td><a href="./xref/com/seaglasslookandfeel/icons/WarningSign.html#49">49</a></td></tr><tr class="a"><td colspan='2'><div><pre>        g.setPaint(new LinearGradientPaint(new Point2D.Double(11.280372619628906, 10.725106239318848), new Point2D.Double(-7.898429870605469, 3.1176528930664062), new float[] {0.0f,1.0f}, new Color[] {new Color(213, 233, 249, 255),new Color(255, 255, 255, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f)));
        g.fill(shape0);
        g.setPaint(new Color(112, 154, 208, 255));
        g.setStroke(new BasicStroke(1.1198422f,1,0,4.0f,null,0.0f));</pre></div></td></tr></table></div>
      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xleft">
        &#169;  
          2009-2012
    
          seaglasslookandfeel.com
          
  

  
    
            
  
    
              
  

  
    
            
  
    
            <div id="lastPublished">
        Last Published: 23 Jun 2012
              </div>
            </div>
      <div class="xright">                              <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img class="poweredBy" 
                 alt="Built by Maven" 
                 src="./images/logos/maven-feather.png" 
                 width="90"
                 height="30"
                 border="1" />
          </a>
            </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    </div>
  </body>
</html>